/* .terms-wrapper {
  max-width: 860px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  font-size: 1.05rem;
  line-height: 1.75;
}

.terms-wrapper h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
  border-bottom: 2px solid #005a9c;
  padding-bottom: 0.5rem;
  text-align: center;
}

.terms-wrapper a {
  color: #0056a6;
  text-decoration: underline;
}

.terms-wrapper a:hover {
  color: #003f88;
}

.terms-wrapper .disclaimer-box {
  margin-top: 2rem;
  padding: 1rem;
  background: #fff0f0;
  border-left: 5px solid #cc0000;
  color: #990000;
  border-radius: 8px;
} */

/* === Terms Page Styles === */
.terms-wrapper {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  line-height: 1.7;
  font-size: 1.1rem;
  font-family: "Georgia", "Times New Roman", serif;
  color: #2c3e50;
  border: 1px solid #e8eef5;
}

.terms-wrapper h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  font-family: "Arial", sans-serif;
}

.terms-wrapper h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #3182ce, #4299e1);
  border-radius: 2px;
}

.terms-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 3rem 0 1.5rem 0;
  color: #2b6cb0;
  font-family: "Arial", sans-serif;
  border-left: 5px solid #4299e1;
  padding-left: 1rem;
  background: linear-gradient(90deg, #edf2f7, transparent);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0 8px 8px 0;
}

.terms-wrapper p {
  margin-bottom: 1.5rem;
  text-align: justify;
  color: #2d3748;
  padding: 0.5rem 0;
}

.terms-wrapper a {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.terms-wrapper a:hover {
  color: #2c5282;
  border-bottom-color: #2c5282;
  background-color: rgba(49, 130, 206, 0.05);
  padding: 2px 4px;
  border-radius: 4px;
}

.terms-wrapper .return-home-btn {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #4299e1, #3182ce);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.terms-wrapper .return-home-btn:hover {
  background: linear-gradient(135deg, #3182ce, #2c5282);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
  border-bottom: none;
  padding: 0.75rem 1.5rem;
}

.terms-wrapper .disclaimer-box {
  margin-top: 3rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff5f5, #fed7d7);
  border: 2px solid #fc8181;
  border-left: 6px solid #e53e3e;
  color: #c53030;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.1);
  font-size: 1rem;
  line-height: 1.6;
}

.terms-wrapper .disclaimer-box::before {
  content: "⚠️";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #fff5f5;
  padding: 0 8px;
  font-size: 1.2rem;
}

/* Additional styling for better content structure */
.terms-wrapper p:first-of-type {
  font-size: 1.15rem;
  color: #2b6cb0;
  font-weight: 500;
  padding: 1rem;
  background: linear-gradient(90deg, #edf2f7, transparent);
  border-left: 4px solid #4299e1;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.terms-wrapper p:not(:first-of-type) {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.terms-wrapper p:not(:first-of-type):hover {
  border-left-color: #4299e1;
  background: rgba(66, 153, 225, 0.02);
  padding-left: 1.2rem;
  border-radius: 0 8px 8px 0;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .terms-wrapper {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }

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

  .terms-wrapper h2 {
    font-size: 1.4rem;
  }

  .terms-wrapper p {
    text-align: left;
  }

  .terms-wrapper p:first-of-type {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .terms-wrapper .disclaimer-box {
    padding: 1.2rem;
    font-size: 0.95rem;
  }
}
