/* Migrated verbatim from Elementor widget e5b480b. Do not reorder: load order is part of the cascade. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Layout */
.terms-layout {
  display: flex;
  max-width: 1600px;
  margin: 50px auto;
  gap: 2.5rem;
}

/* ================= Modern TOC ================= */

.terms-toc {
  width: 270px;
  height: 920px;

  position: sticky;
  top: 40px;
  align-self: flex-start;

  padding: 2.2rem 1.6rem;

  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);

  border-radius: 22px;
  border: 1.5px solid rgba(68,196,188,0.45);

box-shadow: 
  0 12px 45px rgba(0,0,0,0.08),
  0 0 0 4px rgba(68,196,188,0.10),
  inset 0 1px 0 rgba(255,255,255,0.6);

  box-shadow: 
    0 12px 45px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  font-family: 'Inter', sans-serif;
  color: #1f2933;

  overflow-y: auto;
}

/* Scrollbar */
.terms-toc::-webkit-scrollbar {
  width: 6px;
}

.terms-toc::-webkit-scrollbar-thumb {
  background: #44C4BC;
  border-radius: 10px;
}

/* Title */
.terms-toc h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
  color: #111827;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: .3px;
}

.terms-toc h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg,#44C4BC,#2fa4a0);
  border-radius: 10px;
}

/* List reset */
.terms-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Items spacing */
.terms-toc li {
  margin-bottom: 0.7rem;
}

/* Links */
.terms-toc a {
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;

  padding: 10px 14px;
  border-radius: 14px;

  display: flex;
  align-items: center;

  transition:
    background .25s ease,
    transform .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

/* Hover */
.terms-toc a:hover {
  background: rgba(68,196,188,0.18);
  color: #44C4BC;
  transform: translateX(8px);
}

/* Active / selected */
.terms-toc a.active {
  background: rgba(68,196,188,0.25);
  color: #44C4BC;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(68,196,188,0.45);
}

/* Mobile improvement */
@media (max-width: 1100px) {

  .terms-toc {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1.6rem;
  }

  .terms-toc ul {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 0.6rem;
  }

  .terms-toc li {
    margin: 0;
  }

  .terms-toc a {
    justify-content: center;
    text-align: center;
    transform: none;
  }

  .terms-toc a:hover {
    transform: none;
  }
}

/* ================= Main Content ================= */

.terms-wrapper {
  flex: 1;
  padding: 4rem;

  font-family: 'Inter', sans-serif;
  color: #1f2933;
  border: 1.5px solid rgba(68,196,188,0.45);

  box-shadow: 
  0 12px 45px rgba(0,0,0,0.08),
  0 0 0 4px rgba(68,196,188,0.10),
  inset 0 1px 0 rgba(255,255,255,0.6);

  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 45px rgba(0,0,0,0.08);
}

/* Header */
.terms-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.terms-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.terms-header h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #44C4BC;
  border-radius: 10px;
}

.terms-header p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 12px;
}

/* Sections */
.terms-block {
  margin-bottom: 2.4rem;
  animation: fadeUp .6s ease both;
}

.terms-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
  padding-left: 14px;
  position: relative;
}

.terms-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 75%;
  background: #44C4BC;
  border-radius: 4px;
}

.terms-block p,
.terms-block ul {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #374151;
}

.terms-block ul {
  padding-left: 1.2rem;
  margin-top: 0.6rem;
}

.terms-block li {
  margin-bottom: 0.5rem;
}

/* Footer */
.terms-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #4b5563;
  font-size: 0.95rem;
}

.terms-footer span {
  font-weight: 600;
  color: #111827;
}

/* Button */
.contact-btn {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 12px 38px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;

  background: linear-gradient(135deg,#44C4BC,#2fa4a0);
  border-radius: 40px;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(68,196,188,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(68,196,188,0.55);
  color: #000000;
}

/* Animation */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(18px); }
  to { opacity:1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1100px) {

  .terms-layout {
    flex-direction: column;
    padding: 0 16px;
  }

  .terms-wrapper {
    padding: 2.5rem;
  }

  .terms-header h1 {
    font-size: 2.2rem;
  }
}
