/* TERMS & CONDITIONS CSS */

/* =========================================================
   HERO
========================================================= */

.dfmax-terms-hero {
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, #006b87 0%, #009cc5 55%, #07b8d7 100%);

  padding: 68px 0 72px;
}

.dfmax-terms-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;
}

.dfmax-terms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 8px 15px;

  border: 1px solid rgba(255, 255, 255, 0.28);

  background: rgba(255, 255, 255, 0.12);

  color: #fff;

  border-radius: 50px;

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 20px;

  backdrop-filter: blur(8px);
}

.dfmax-terms-hero h1 {
  color: #fff;

  font-size: clamp(36px, 5vw, 58px);

  line-height: 1.1;

  font-weight: 800;

  margin: 0 0 20px;

  letter-spacing: -1.5px;
}

.dfmax-terms-hero h1 span {
  display: block;

  color: #fff;
}

.dfmax-terms-hero p {
  max-width: 720px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 17px;

  line-height: 1.8;

  margin: 0;
}

.dfmax-terms-updated {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-top: 28px;

  padding: 12px 17px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.22);

  border-radius: 10px;

  color: #fff;
}

.dfmax-terms-updated > i {
  font-size: 20px;
}

.dfmax-terms-updated small {
  display: block;

  font-size: 11px;

  opacity: 0.75;

  margin-bottom: 2px;
}

.dfmax-terms-updated strong {
  display: block;

  font-size: 13px;

  font-weight: 600;
}

/* =========================================================
   HERO SHAPES
========================================================= */

.dfmax-terms-hero-shape {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  pointer-events: none;
}

.dfmax-terms-shape-one {
  width: 430px;
  height: 430px;

  right: -100px;
  top: -170px;
}

.dfmax-terms-shape-two {
  width: 280px;
  height: 280px;

  right: 90px;
  bottom: -190px;

  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   MAIN
========================================================= */

.dfmax-terms-main {
  background: #f7f8fa;

  padding: 70px 0 90px;
}

/* =========================================================
   SIDEBAR
========================================================= */

.dfmax-terms-sidebar {
  position: sticky;

  top: 100px;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 14px;

  padding: 12px;

  box-shadow: 0 8px 30px rgba(6, 59, 74, 0.05);
}

.dfmax-terms-sidebar-title {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 14px 13px;

  color: #292929;

  font-size: 14px;

  font-weight: 700;

  border-bottom: 1px solid #eef0f2;

  margin-bottom: 6px;
}

.dfmax-terms-sidebar-title i {
  color: #009cc5;

  font-size: 16px;
}

.dfmax-terms-sidebar a {
  position: relative;

  display: block;

  padding: 10px 12px;

  margin: 2px 0;

  border-radius: 7px;

  color: #667085;

  font-size: 13px;

  font-weight: 500;

  text-decoration: none;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    padding-left 0.25s ease;
}

.dfmax-terms-sidebar a:hover {
  background: #f0fafd;

  color: #009cc5;
}

.dfmax-terms-sidebar a.active {
  background: #f0fafd;

  color: #009cc5;

  font-weight: 600;

  padding-left: 17px;
}

.dfmax-terms-sidebar a.active::before {
  content: "";

  position: absolute;

  left: 0;

  top: 8px;

  bottom: 8px;

  width: 3px;

  background: #009cc5;

  border-radius: 0 4px 4px 0;
}

/* =========================================================
   CONTENT
========================================================= */

.dfmax-terms-content {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  padding: 40px 45px;

  box-shadow: 0 8px 30px rgba(6, 59, 74, 0.04);
}

.dfmax-terms-section {
  position: relative;

  padding-bottom: 30px;

  margin-bottom: 30px;

  border-bottom: 1px solid #edf0f2;

  scroll-margin-top: 100px;
}

.dfmax-terms-section:last-of-type {
  border-bottom: 0;
}

.dfmax-terms-number {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 40px;

  height: 40px;

  background: #f0fafd;

  border: 1px solid #d5f0f7;

  color: #009cc5;

  border-radius: 9px;

  font-size: 12px;

  font-weight: 800;

  margin-bottom: 16px;
}

.dfmax-terms-section h2 {
  color: #292929;

  font-size: 26px;

  line-height: 1.3;

  font-weight: 750;

  margin: 0 0 15px;
}

.dfmax-terms-section p {
  color: #667085;

  font-size: 15px;

  line-height: 1.85;

  margin: 0 0 14px;
}

/* =========================================================
   HIGHLIGHT
========================================================= */

.dfmax-terms-highlight {
  display: flex;

  gap: 14px;

  padding: 18px;

  margin-top: 22px;

  background: #fff8f3;

  border: 1px solid #fce1d2;

  border-radius: 10px;
}

.dfmax-terms-highlight.blue {
  background: #f0fafd;

  border-color: #d5f0f7;
}

.dfmax-terms-highlight > i {
  flex: 0 0 auto;

  color: #f47b3a;

  font-size: 19px;

  margin-top: 2px;
}

.dfmax-terms-highlight.blue > i {
  color: #009cc5;
}

.dfmax-terms-highlight strong {
  display: block;

  color: #292929;

  font-size: 14px;

  margin-bottom: 4px;
}

.dfmax-terms-highlight p {
  font-size: 13px;

  line-height: 1.65;

  margin: 0;
}

/* =========================================================
   CARDS
========================================================= */

.dfmax-terms-card {
  height: 100%;

  padding: 20px;

  border: 1px solid #e7eaed;

  border-radius: 11px;

  background: #fff;

  transition: all 0.3s ease;
}

.dfmax-terms-card:hover {
  transform: translateY(-3px);

  border-color: #bce8f1;

  box-shadow: 0 12px 30px rgba(0, 156, 197, 0.08);
}

.dfmax-terms-card-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 42px;

  height: 42px;

  background: #f0fafd;

  color: #009cc5;

  border-radius: 9px;

  margin-bottom: 14px;
}

.dfmax-terms-card h3 {
  color: #292929;

  font-size: 16px;

  font-weight: 700;

  margin: 0 0 8px;
}

.dfmax-terms-card p {
  font-size: 13px;

  line-height: 1.7;

  margin: 0;
}

/* =========================================================
   LIST
========================================================= */

.dfmax-terms-list {
  list-style: none;

  padding: 0;

  margin: 20px 0 0;
}

.dfmax-terms-list li {
  display: flex;

  align-items: flex-start;

  gap: 11px;

  color: #667085;

  font-size: 14px;

  line-height: 1.7;

  padding: 8px 0;
}

.dfmax-terms-list li i {
  color: #16a34a;

  font-size: 13px;

  margin-top: 4px;
}

/* =========================================================
   THIRD PARTY BOX
========================================================= */

.dfmax-terms-third-party-box {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 22px;

  padding: 18px;

  background: #f7f8fa;

  border: 1px solid #e7eaed;

  border-radius: 10px;
}

.dfmax-terms-third-party-box > i {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 42px;

  height: 42px;

  flex: 0 0 auto;

  border-radius: 9px;

  background: #f0fafd;

  color: #009cc5;
}

.dfmax-terms-third-party-box strong {
  display: block;

  color: #292929;

  font-size: 14px;

  margin-bottom: 4px;
}

.dfmax-terms-third-party-box span {
  display: block;

  color: #667085;

  font-size: 12px;

  line-height: 1.6;
}

/* =========================================================
   RESPONSIBILITY GRID
========================================================= */

.dfmax-responsibility-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;

  margin-top: 22px;
}

.dfmax-responsibility-item {
  display: flex;

  align-items: flex-start;

  gap: 13px;

  padding: 17px;

  border: 1px solid #e7eaed;

  border-radius: 10px;

  background: #fff;
}

.dfmax-responsibility-item > i {
  flex: 0 0 auto;

  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f0fafd;

  color: #009cc5;

  border-radius: 8px;
}

.dfmax-responsibility-item strong {
  display: block;

  color: #292929;

  font-size: 14px;

  margin-bottom: 4px;
}

.dfmax-responsibility-item span {
  display: block;

  color: #667085;

  font-size: 12px;

  line-height: 1.6;
}

/* =========================================================
   WARNING
========================================================= */

.dfmax-terms-warning {
  display: flex;

  gap: 14px;

  padding: 18px;

  margin-top: 22px;

  background: #fffaf5;

  border: 1px solid #f7dfca;

  border-radius: 10px;
}

.dfmax-terms-warning > i {
  flex: 0 0 auto;

  color: #f47b3a;

  font-size: 19px;

  margin-top: 2px;
}

.dfmax-terms-warning strong {
  display: block;

  color: #292929;

  font-size: 14px;

  margin-bottom: 4px;
}

.dfmax-terms-warning p {
  font-size: 13px;

  line-height: 1.65;

  margin: 0;
}

/* =========================================================
   LAW BOX
========================================================= */

.dfmax-terms-law-box {
  display: inline-flex;

  align-items: center;

  gap: 13px;

  margin-top: 18px;

  padding: 14px 18px;

  background: #f0fafd;

  border: 1px solid #d5f0f7;

  border-radius: 10px;
}

.dfmax-terms-law-icon {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #009cc5;

  color: #fff;

  border-radius: 9px;
}

.dfmax-terms-law-box strong {
  display: block;

  color: #292929;

  font-size: 13px;

  margin-bottom: 2px;
}

.dfmax-terms-law-box span {
  display: block;

  color: #667085;

  font-size: 12px;
}

/* =========================================================
   CONTACT
========================================================= */

.dfmax-terms-contact {
  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  gap: 22px;

  padding: 28px;

  margin-top: 5px;

  border-radius: 14px;

  background: linear-gradient(135deg, #006b87, #009cc5);
}

.dfmax-terms-contact::after {
  content: "";

  position: absolute;

  width: 220px;

  height: 220px;

  border: 1px solid rgba(255, 255, 255, 0.13);

  border-radius: 50%;

  right: -90px;

  top: -90px;
}

.dfmax-terms-contact-icon {
  position: relative;

  z-index: 1;

  flex: 0 0 auto;

  width: 58px;

  height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.14);

  color: #fff;

  font-size: 23px;
}

.dfmax-terms-contact-content {
  position: relative;

  z-index: 1;
}

.dfmax-terms-contact-content > span {
  color: rgba(255, 255, 255, 0.72);

  font-size: 12px;

  font-weight: 600;
}

.dfmax-terms-contact-content h2 {
  color: #fff;

  font-size: 23px;

  margin: 4px 0 7px;

  font-weight: 750;
}

.dfmax-terms-contact-content p {
  color: rgba(255, 255, 255, 0.82);

  font-size: 13px;

  line-height: 1.7;

  margin: 0 0 15px;

  max-width: 650px;
}

.dfmax-terms-contact-btn {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 10px 17px;

  border-radius: 7px;

  background: #fff;

  color: #006b87;

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;

  transition: all 0.25s ease;
}

.dfmax-terms-contact-btn:hover {
  color: #006b87;

  transform: translateY(-2px);
}

/* =========================================================
   FINAL DISCLAIMER
========================================================= */

.dfmax-terms-disclaimer {
  display: flex;

  gap: 12px;

  padding: 17px;

  margin-top: 18px;

  background: #fffaf5;

  border: 1px solid #f8e5d4;

  border-radius: 9px;
}

.dfmax-terms-disclaimer > i {
  flex: 0 0 auto;

  color: #f47b3a;

  margin-top: 3px;
}

.dfmax-terms-disclaimer p {
  color: #7b6b60;

  font-size: 11px;

  line-height: 1.7;

  margin: 0;
}

.dfmax-terms-disclaimer strong {
  color: #604c40;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .dfmax-terms-hero {
    padding: 55px 0 60px;
  }

  .dfmax-terms-main {
    padding: 55px 0 70px;
  }

  .dfmax-terms-sidebar {
    position: static;

    display: grid;

    grid-template-columns: repeat(2, 1fr);
  }

  .dfmax-terms-sidebar-title {
    grid-column: 1 / -1;
  }

  .dfmax-terms-sidebar a {
    margin: 2px;
  }

  .dfmax-terms-content {
    padding: 35px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .dfmax-terms-hero {
    padding: 45px 0 50px;
  }

  .dfmax-terms-hero h1 {
    font-size: 38px;

    letter-spacing: -1px;
  }

  .dfmax-terms-hero p {
    font-size: 14px;

    line-height: 1.75;
  }

  .dfmax-terms-main {
    padding: 40px 0 55px;
  }

  .dfmax-terms-sidebar {
    grid-template-columns: 1fr;
  }

  .dfmax-terms-sidebar-title {
    grid-column: auto;
  }

  .dfmax-terms-content {
    padding: 25px 20px;

    border-radius: 12px;
  }

  .dfmax-terms-section {
    padding-bottom: 32px;

    margin-bottom: 32px;
  }

  .dfmax-terms-section h2 {
    font-size: 22px;
  }

  .dfmax-terms-section p {
    font-size: 14px;

    line-height: 1.75;
  }

  .dfmax-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .dfmax-terms-contact {
    align-items: flex-start;

    padding: 22px;
  }

  .dfmax-terms-contact-content h2 {
    font-size: 21px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .dfmax-terms-hero {
    padding: 38px 0 43px;
  }

  .dfmax-terms-eyebrow {
    font-size: 11px;

    padding: 7px 12px;
  }

  .dfmax-terms-hero h1 {
    font-size: 32px;
  }

  .dfmax-terms-updated {
    width: 100%;
  }

  .dfmax-terms-content {
    padding: 22px 16px;
  }

  .dfmax-terms-number {
    width: 36px;

    height: 36px;
  }

  .dfmax-terms-section h2 {
    font-size: 20px;
  }

  .dfmax-terms-card {
    padding: 17px;
  }

  .dfmax-terms-highlight {
    padding: 15px;
  }

  .dfmax-terms-warning {
    padding: 15px;
  }

  .dfmax-terms-third-party-box {
    align-items: flex-start;
  }

  .dfmax-terms-contact {
    flex-direction: column;
  }

  .dfmax-terms-contact-icon {
    width: 50px;

    height: 50px;
  }

  .dfmax-terms-contact-btn {
    width: 100%;

    justify-content: center;
  }
}
