/* Terms and Conditions Styles */
.terms-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.terms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.terms-section h1 {
  text-align: center;
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 3rem;
}

.terms-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.terms-content h2 {
  color: #333;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.terms-content ul {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.terms-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #6c6c6c;
}

.terms-content ol {
  margin-left: 2rem;
  padding-left: 1rem;
}

.terms-section .btn {
  display: block;
  max-width: 300px;
  margin: 0 auto;
}

.accordion {
  display: block;
  padding: 15px;
  background-color: #232A69;
  color: white;
  text-decoration: none;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.accordion:hover {
  background-color: #1a214f;
}

.accordion::after {
  content: '\25BC'; /* Down arrow */
  float: right;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.accordion.active::after {
  transform: rotate(180deg); /* Up arrow when active */
}

.panel {
  padding: 0 18px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-bottom: 10px;
}

.panel.show {
  max-height: 1000px; /* Adjust based on content size */
}

@media (max-width: 768px) {
  .terms-section h1 {
    font-size: 2rem;
  }
  
  .terms-content {
    padding: 1.5rem;
  }
  
  .terms-content h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  .accordion {
    font-size: 20px;
  }
  .panel {
    padding: 0 10px;
  }
}