/* Accredia360 shared footer - scoped and standalone */
.accr-footer {
  --af-navy: #071f3a;
  --af-blue: #1268e8;
  --af-cyan: #13b9d4;
  --af-ink: #162033;
  --af-muted: #607087;
  --af-line: rgba(7, 31, 58, 0.11);
  --af-soft: #f5f8fc;
  background: linear-gradient(180deg, #f6f9fd 0%, #fff 48%);
  border-top: 1px solid rgba(18, 104, 232, 0.16);
  color: var(--af-muted);
  font-family: inherit;
  box-shadow: 0 -20px 50px rgba(7, 31, 58, 0.06);
}
.accr-footer,
.accr-footer * {
  box-sizing: border-box;
}
.accr-footer .container-fluid {
  width: min(100%, 1320px);
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}
.accr-footer-main {
  padding: clamp(42px, 6vw, 70px) 0 34px;
}
.accr-footer a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.accr-footer a:hover,
.accr-footer a:focus {
  color: var(--af-blue);
}
.accr-footer-brand {
  max-width: 410px;
}
.accr-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.accr-footer-mark-badge {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--af-blue), var(--af-cyan));
  box-shadow: 0 12px 26px rgba(18, 104, 232, 0.22);
}
.accr-footer-mark-name {
  color: var(--af-navy);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.accr-footer-product {
  display: inline-block;
  margin-left: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(18, 104, 232, 0.08);
  color: var(--af-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}
.accr-footer-description {
  margin: 0 0 18px;
  max-width: 390px;
  font-size: 0.96rem;
  line-height: 1.7;
}
.accr-footer-parent {
  padding-left: 25px;
  margin: 0;
  color: var(--af-ink);
  font-size: 0.9rem;
  line-height: 1.6;
}
.accr-footer-parent a {
  font-weight: 800;
  color: var(--af-blue);
}
.accr-footer-title {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  padding: 0 0 11px;
  color: var(--af-ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}
.accr-footer-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--af-blue), var(--af-cyan));
}
.accr-footer-nav-group {
  min-width: 0;
}
.accr-footer-nav-group .accr-footer-title {
  margin-bottom: 18px;
}
.accr-footer-links {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.accr-footer-links li + li {
  margin-top: 10px;
}
.accr-footer-nav-group {
  padding: 4px 0;
}
.accr-footer-nav-group .accr-footer-links li {
  display: block;
}
.accr-footer-nav-group .accr-footer-links a {
  width: 100%;
}
.accr-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.accr-footer-links a:before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: rgba(18, 104, 232, 0.35);
}
.accr-footer-links a:hover:before {
  background: var(--af-blue);
}
.accr-footer-links .featured {
  font-weight: 800;
  color: var(--af-blue);
}
.accr-footer-contact-row {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--af-line);
}
.accr-footer-contact {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.25fr;
  gap: 16px;
}
.accr-footer-card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--af-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 31, 58, 0.055);
}
.accr-footer-contact-list {
  display: grid;
  gap: 11px;
}
.accr-footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.accr-footer-contact-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 50%;
  background: rgba(18, 104, 232, 0.08);
  color: var(--af-blue);
}
.accr-footer-ecosystem {
  background: linear-gradient(135deg, var(--af-navy), #0b4380);
  border-color: transparent;
  color: #fff;
}
.accr-footer-ecosystem .accr-footer-title {
  color: #fff;
}
.accr-footer-ecosystem .accr-footer-title:after {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.35));
}
.accr-footer-ecosystem .accr-footer-links a {
  color: rgba(255, 255, 255, 0.82);
}
.accr-footer-ecosystem .accr-footer-links a:hover {
  color: #fff;
}
.accr-footer-ecosystem .accr-footer-links a:before {
  background: rgba(255, 255, 255, 0.35);
}
.accr-footer-bottom {
  padding: 19px 0;
  border-top: 1px solid var(--af-line);
  font-size: 0.86rem;
}
.accr-footer-bottom p {
  margin: 0;
  line-height: 1.6;
}
.accr-footer-bottom strong {
  color: var(--af-ink);
}
.accr-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.accr-footer-bottom-links a {
  font-weight: 700;
  color: var(--af-ink);
}
.accr-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.accr-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--af-line);
  border-radius: 50%;
  background: #fff;
  color: var(--af-navy);
  box-shadow: 0 7px 18px rgba(7, 31, 58, 0.06);
}
.accr-footer-social a:hover {
  color: #fff;
  background: var(--af-blue);
  border-color: var(--af-blue);
  transform: translateY(-2px);
}
@media (max-width: 991.98px) {
  .accr-footer-contact {
    grid-template-columns: 1fr 1fr;
  }
  .accr-footer-ecosystem {
    grid-column: 1/-1;
  }
}
@media (max-width: 575.98px) {
  .accr-footer-main {
    padding-top: 38px;
  }
  .accr-footer-contact {
    grid-template-columns: 1fr;
  }
  .accr-footer-ecosystem {
    grid-column: auto;
  }
  .accr-footer-bottom .d-flex {
    align-items: flex-start !important;
  }
  .accr-footer-mark-name {
    font-size: 1.45rem;
  }
}

.accr-footer {
  position: relative;
  clear: both;
  width: 100%;
  overflow: hidden;
}
.accr-footer .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.accr-footer .row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}
.accr-footer .d-flex {
  display: flex !important;
}
.accr-footer .flex-column {
  flex-direction: column !important;
}
.accr-footer .align-items-start {
  align-items: flex-start !important;
}
.accr-footer .align-items-md-center {
  align-items: center !important;
}
.accr-footer .justify-content-between {
  justify-content: space-between !important;
}
.accr-footer .gap-2 {
  gap: 0.5rem !important;
}
.accr-footer .gap-lg-4 {
  gap: 1.5rem !important;
}
@media (min-width: 576px) {
  .accr-footer .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}
@media (min-width: 768px) {
  .accr-footer .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}
@media (min-width: 992px) {
  .accr-footer .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  .accr-footer .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .accr-footer .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .accr-footer .align-items-lg-center {
    align-items: center !important;
  }
  .accr-footer .flex-lg-row {
    flex-direction: row !important;
  }
}
@media (min-width: 1200px) {
  .accr-footer .col-xl-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  .accr-footer .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .accr-footer .col-xl-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}

/* Footer navigation cards — deliberately scoped so page CSS cannot disturb alignment. */
.accr-footer .accr-footer-nav-card {
  position: relative;
  height: 100%;
  min-height: 255px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(7, 31, 58, 0.09);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 14px 34px rgba(7, 31, 58, 0.055);
  overflow: hidden;
}
.accr-footer .accr-footer-nav-card::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(19, 185, 212, 0.12) 0%,
    rgba(19, 185, 212, 0) 70%
  );
  pointer-events: none;
}
.accr-footer .accr-footer-nav-card .accr-footer-title,
.accr-footer .accr-footer-nav-card .accr-footer-links {
  position: relative;
  z-index: 1;
}
.accr-footer .accr-footer-nav-card .accr-footer-title {
  margin-bottom: 20px;
  min-height: 25px;
}
.accr-footer .accr-footer-nav-card .accr-footer-links li + li {
  margin-top: 11px;
}
.accr-footer .accr-footer-nav-card .accr-footer-links a {
  font-size: 0.9rem;
}

/* Alignment-only refinement: keep the original footer appearance. */
.accr-footer .accr-footer-main > .row {
  align-items: flex-start;
}
.accr-footer .accr-footer-nav-group {
  display: flex;
  align-items: stretch;
}
.accr-footer .accr-footer-nav-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.accr-footer .accr-footer-nav-card .accr-footer-title {
  flex: 0 0 auto;
}
.accr-footer .accr-footer-nav-card .accr-footer-links {
  flex: 0 0 auto;
}
.accr-footer .accr-footer-nav-card .accr-footer-links li {
  text-align: left;
}
.accr-footer .accr-footer-nav-card .accr-footer-links a {
  justify-content: flex-start;
  text-align: left;
}

/* Minimal footer alignment: keep utility links at the far right. */
.accr-footer-bottom > .d-flex {
  width: 100%;
}
.accr-footer-bottom-links {
  margin-left: auto;
}
@media (max-width: 767.98px) {
  .accr-footer-bottom-links {
    margin-left: 0;
  }
}

/* Final navigation alignment: each section heading sits directly above its links. */
.accr-footer .accr-footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.accr-footer .accr-footer-nav-group .accr-footer-title,
.accr-footer .accr-footer-nav-group .accr-footer-links {
  width: 100%;
}

/* Footer bottom: keep the copyright at the left corner and the attribution/utility links at the right corner. */
@media (min-width: 768px) {
  .accr-footer-bottom > .d-flex {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px;
  }

  .accr-footer-bottom > .d-flex > p {
    flex: 0 0 auto;
    text-align: left;
  }

  .accr-footer-bottom > .d-flex > .d-flex {
    margin-left: auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    gap: 24px;
  }

  .accr-footer-bottom-links {
    margin-left: 0 !important;
  }
}

/* Accredia360 footer logo sizing */
.accr-footer-logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: 190px;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .accr-footer-logo {
    height: 36px;
    max-width: 165px;
  }
}
