
.policy-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 107px;
    padding-top: 80px;
}

.policy-banner{
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/* content */

.content-wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 160px;
    padding: 80px 0;
    gap: 100px;
}

.policy-date{
    font-family: var(--font-henry);
    font-weight: 300;
    font-size: 20px;
}


.privacy-content{
    border: 2px solid var(--color-primary-blue);
    width: 100%;
    max-width: 900px;
    padding: 40px;
}

.privacy-nav{
    max-width: 540px;
    width: 100%;
    font-family: var(--font-henry);
}


.privacy-wrap{
    display:flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5rem;
    width: 100%;
}

.privacy-nav ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 693px;
}

.privacy-nav a {
  text-decoration: none;
  font-size: 24px;
  font-weight: 300;
  color: var(--color-primary-blue);
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.privacy-nav a.active {
  color: var(--color-primary-blue);
  font-weight: 500;
}

.privacy-section {
  margin-bottom: 40px;
  padding: 20px 40px;
  border-radius: 12px;
  display: none;
}

.privacy-section.active {
  display: block;
}

.privacy-section .section-body {
    height: 520px; /* space below h2 */
    overflow-y: auto;
    margin: 40px 0;
    padding-right: 20px;
    font-family: var(--font-henry);
    color: var(--color-primary-blue);
    font-size: 24px;
    text-align: left;
}

/* Webkit browsers (Chrome, Edge, Safari) */
.privacy-section::-webkit-scrollbar {
    width: 6px;  /* thin scrollbar */
}

.privacy-section::-webkit-scrollbar-track {
    background: transparent; /* no background */
}

.privacy-section::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-blue); /* dark green thumb */
    border-radius: 10px;
}

.privacy-section::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary-blue); /* darker on hover */
}

/* Firefox */
.privacy-section {
    scrollbar-width: thin;            /* makes it slim */
    scrollbar-color: var(--color-primary-blue) transparent; /* thumb | track */
}

.nav-link.active {
  color: var(--color-secondary-blue);
}

.section-body p {
    margin-bottom: 1em;
    font-weight: 300;
}

.section-body ul {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.section-body li {
    margin-bottom: 0.5em;
    list-style-type: disc;
    font-size: 20px;
    color: var(--color-primary-blue);
}

/* ---------- TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {
    .policy-wrapper {
        gap: 80px;
        padding-top: 60px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 60px;
        margin: 0 60px;
        padding: 60px 0;
    }

    .privacy-wrap {
        flex-direction: column;
        gap: 3rem;
    }

    .privacy-content {
        padding: 30px;
        max-width: 100%;
    }

    .privacy-nav {
        max-width: 100%;
        font-size: 20px;
    }

    .privacy-section .section-body {
        font-size: 20px;
        height: 420px;
    }

    .section-body li {
        font-size: 18px;
    }
}

/* ---------- MOBILE (≤768px) ---------- */
@media (max-width: 768px) {
    .policy-wrapper {
        gap: 60px;
        padding-top: 40px;
    }

    .policy-banner {
        width: 100%;
        height: auto;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 40px;
        margin: 0 20px;
        padding: 40px 0;
    }

    .privacy-wrap {
        flex-direction: column;
        gap: 2rem;
    }

    .privacy-content {
        padding: 20px;
    }

    .privacy-nav {
        font-size: 18px;
        max-width: 100%;
    }

    .privacy-nav a {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .privacy-section{
        padding: 0;
    }

    .privacy-section .section-body {
        font-size: 18px;
        height: 300px; /* smaller height for mobile screens */
        padding-right: 10px;
    }

    .section-body li {
        font-size: 16px;
    }
}
