/* ============================================
   Terms of Service Page Styles
   ============================================ */

/* Page Header */
.page-header-section {
  background: #1a5f4a;
  padding: 8rem 0 3rem;
  margin-bottom: 2.5rem;
}

.page-header-section .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff !important;
}

.page-header-section .page-title i {
  margin-right: 1rem;
  color: #fff !important;
}

.page-header-section .page-description {
  font-size: 1rem;
  margin-bottom: 0;
  color: #fff !important;
}

/* Terms Content Section */
.terms-content-section {
  padding: 2rem 0 4rem;
}

/* Introduction */
.terms-intro {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #1a5f4a;
  margin-bottom: 2.5rem;
}

.terms-intro p {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

/* Terms Section */
.terms-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.terms-section:last-of-type {
  border-bottom: none;
}

.terms-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #1a5f4a;
  display: inline-block;
}

.terms-section .section-content {
  color: #4a5568;
  line-height: 1.8;
}

.terms-section .section-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.terms-section .section-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.terms-section .section-content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  position: relative;
  padding-left: 0.5rem;
}

.terms-section .section-content ul li::marker {
  color: #1a5f4a;
}

/* Strong/Bold Text Styling */
.terms-section .section-content strong {
  font-weight: 600;
  color: #2d3748;
}

/* Highlighted Info */
.terms-section .section-content ul li strong {
  color: #1a5f4a;
  font-weight: 700;
}

/* Alert boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.alert-info {
  background: #e8f4fd;
  border-left: 4px solid #1a5f4a;
  color: #1a5f4a;
}

.alert-danger {
  background: #fef2f2;
  border-left: 4px solid #dc3545;
  color: #dc3545;
}

.alert-warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.alert-success {
  background: #ecfdf5;
  border-left: 4px solid #1a5f4a;
  color: #1a5f4a;
}

/* Acceptance Box */
.terms-acceptance {
  margin: 3rem 0;
}

.acceptance-box {
  background: rgba(26, 95, 74, 0.1);
  border: 2px solid #1a5f4a;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.acceptance-box i {
  font-size: 2rem;
  color: #1a5f4a;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.acceptance-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3748;
  font-weight: 500;
}

/* Terms Footer */
.terms-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

.terms-footer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-header-section .page-title {
    font-size: 2rem;
  }
  .terms-section .section-title {
    font-size: 1.5rem;
  }
  .terms-intro {
    padding: 1.5rem;
  }
  .acceptance-box {
    padding: 1.5rem;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .page-header-section {
    padding: 6rem 0 2rem;
    margin-bottom: 2rem;
  }
  .page-header-section .page-title {
    font-size: 1.75rem;
  }
  .terms-section .section-title {
    font-size: 1.35rem;
  }
  .terms-intro {
    padding: 1.25rem;
  }
  .terms-intro p,
  .acceptance-box p {
    font-size: 0.95rem;
  }
  .acceptance-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .acceptance-box i {
    margin-top: 0;
  }
  .terms-section .section-content ul {
    padding-left: 1rem;
  }
}

@media (max-width: 576px) {
  .page-header-section .page-title {
    font-size: 1.5rem;
  }
  .page-header-section .page-title i {
    display: block;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  .terms-section .section-title {
    font-size: 1.25rem;
    word-break: break-word;
  }
  .terms-content-section {
    padding: 1rem 0 3rem;
  }
}

@media print {
  .page-header-section {
    background: none;
    padding: 1rem 0;
  }
  .page-header-section .page-title,
  .page-header-section .page-description {
    color: #000 !important;
  }
  .acceptance-box {
    border: 1px solid #000;
    background: none;
  }
  .terms-section .section-title {
    border-bottom-color: #000;
  }
}
