/* Banner Section */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, #0a2463 0%, #3e92cc 100%);
    padding: 160px 0 100px;
    color: #fff;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.banner-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Legal Pages Styling */
.legal-content {
  padding-top: 60px;
  background-color: #f8f9fa;
}

.legal-container {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.legal-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.legal-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-header h2 {
  color: #0a2463;
  font-weight: 700;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h3 {
  color: #2a628f;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-section h4 {
  color: #3e92cc;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-section p,
.legal-section li {
  color: #555;
  line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

/* Risk Disclosure Specific */
.risk-item {
  background-color: #f8f9fa;
  border-left: 4px solid #3e92cc;
  padding: 1rem;
  border-radius: 0 5px 5px 0;
  margin-bottom: 1rem;
}

/* Complaints Page Specific */
.complaint-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.complaint-channel {
  display: flex;
  align-items: flex-start;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.complaint-channel:hover {
  background-color: #e9f0f7;
  transform: translateY(-5px);
}

.icon-container {
  background-color: #3e92cc;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.icon-container i {
  font-size: 1.5rem;
}

.channel-details h4 {
  margin-bottom: 0.5rem;
  color: #0a2463;
}

.process-steps {
  position: relative;
  margin: 2rem 0;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-color: #3e92cc;
  z-index: 0;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  background-color: #3e92cc;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: #0a2463;
}

.complaint-form {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.ombudsman-details {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3e92cc;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .complaint-channels {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .process-steps::before {
    left: 24px;
    height: calc(100% - 50px);
    top: 50px;
  }
}

/* AML Policy Specific */
.aml-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Terms of Service Specific */
.terms-highlight {
  background-color: #e9f0f7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #0a2463;
}

/* Print Styles */
@media print {
  .navbar,
  .banner-section,
  .footer,
  .complaint-form {
    display: none;
  }

  .legal-container {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }

  .legal-content {
    padding: 0;
  }

  body {
    font-size: 12pt;
  }

  h2 {
    font-size: 18pt;
  }

  h3 {
    font-size: 16pt;
  }

  h4 {
    font-size: 14pt;
  }
}
