   
.privacy-policy-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
  padding: 40px 160px;
}

.terms-and-condition-header h1{
  width:100%;
  display: flex;
  align-items: flex-start;
  color: #001e62;
}


.privacy-wrap{
    display:flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5rem;
   width: 100%;
}

.privacy-nav {
  width: 25%;
  border-right: 2px solid #a97c50;
}

.privacy-nav ul {
  list-style: none;
  padding: 0;
}

.privacy-nav a {
  text-decoration: none;
  font-size: 24px;
  color: #001e62;
  display: block;
  margin-bottom: 15px;
}

.privacy-nav a.active {
  color: #a97c50;
}

.privacy-content {
  width: 75%;
  padding-left: 20px;
}

.privacy-section {
  margin-bottom: 40px;
  padding: 20px 40px;
  border: 1px solid #ccc;
  border-left: 4px solid #a97c50;
  border-radius: 12px;
  background-color: #f9f9f9;
  height: 720px;
  overflow-y: auto;
}
.privacy-section h2{
    font-size: 32px;
}
.privacy-section {
  display: none;
}

.privacy-section.active {
  display: block;
}

.nav-link.active {
  color: #a97c50;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.privacy-content p {
    margin-bottom: 1em;
    line-height: 1.6;
}

.privacy-content ul {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.privacy-content li {
    margin-bottom: 0.5em;
    list-style-type: disc;
    font-size: 24px;
}

.privacy-section {
    display: none;
}

.privacy-section.active {
    display: block;
}

/* terms */
.terms-conditions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 40px 160px;
}
.terms-conditions-wrapper h1 {
  width: 100%;
}

.terms-conditions-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5rem;
}

.terms-conditions-nav {
  width: 25%;
  border-right: 2px solid #a97c50;
}

.terms-conditions-nav ul {
  list-style: none;
  padding: 0;
}

.terms-conditions-nav a {
  text-decoration: none;
  font-size: 24px;
  color: #001e62;
  display: block;
  margin-bottom: 15px;
}

.terms-conditions-nav a.active {
  color: #a97c50;
}

.terms-content {
  width: 75%;
  padding-left: 20px;
}

.terms-section {
  margin-bottom: 40px;
  padding: 20px 40px;
  border: 1px solid #ccc;
  border-left: 4px solid #a97c50;
  border-radius: 12px;
  background-color: #f9f9f9;
  height: 720px;
  overflow-y: auto;
  display: none;
}

.terms-section.active {
  display: block;
}

.terms-content h1,
.terms-content h2,
.terms-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.terms-content p {
  margin-bottom: 1em;
  line-height: 1.6;
}

.terms-content ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.terms-content li {
  margin-bottom: 0.5em;
  list-style-type: disc;
  font-size: 24px;
}

@media (max-width: 1024px) {
  .privacy-policy-wrapper,
  .terms-conditions-wrapper {
    padding: 60px 30px;
    height: auto;
  }

  .privacy-wrap,
  .terms-conditions-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .privacy-nav,
  .terms-conditions-nav {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #a97c50;
    padding-bottom: 1rem;
  }

  .privacy-content,
  .terms-content {
    width: 100%;
    padding-left: 0;
  }

  .privacy-section,
  .terms-section {
    height: auto;
    max-height: 500px;
  }

  .privacy-nav a,
  .terms-conditions-nav a {
    font-size: 20px;
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  .privacy-policy-wrapper,
  .terms-conditions-wrapper {
    padding: 40px 20px;
  }

  .privacy-section,
  .terms-section {
    padding: 15px 20px;
    font-size: 16px;
  }

  .privacy-nav a,
  .terms-conditions-nav a {
    font-size: 18px;
    margin-bottom: 0;
  }


  .privacy-content li,
  .terms-content li {
    font-size: 18px;
  }

  .privacy-section h2,
  .terms-section h2 {
    font-size: 24px;
  }
}
