.privacy {
    padding: 50px 0;
}

.privacy .border-title {
    margin-bottom: 60px;
    padding-bottom: 20px;
}

.privacy .border-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
}

h2, h3, h4, h5, h6 {
    margin: 20px 0;
    font-family: var(--poppins-semibold-font);
    font-weight: var(--fw-semibold);
    color: var(--text-color);
    line-height: 1.3em;
}

h2 {
    font-size: var(--text-size-48);
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-size: var(--text-size-40);
}

h4 {
    font-size: var(--text-size-32);
}

h5 {
    font-size: var(--text-size-24);
}

h6 {
    font-size: var(--text-size-20);
}

.privacy__btn {
    position: relative;
    margin-bottom: 20px;
    padding-right: 28px;
    text-align: left;
}

.privacy__btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: translateY(-50%) rotate(-135deg);
    transition: transform .6s ease-in-out;
}

.privacy__btn:hover::after {
    transform: translateY(-50%) rotate(-135deg) scale(1.15);
}

.privacy__nav {
    position: sticky;
    top: 132px;
    left: 0;
}

.privacy__nav ul {
    display:flex;
    flex-direction:column;
    gap:8px;
    padding: 24px;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
    overflow:hidden;
    transition:.35s;
}

.privacy__nav a {
    display:block;
    padding:10px 14px;
    border-radius:10px;
    font-weight:var(--fw-semibold);

    color:var(--text-color);
    text-decoration:none;

    transition:.25s;
}

.privacy__nav a:hover {
    background:#f5f5f5;
    color:var(--accent-color);
}

.privacy__nav a.active {
    color:var(--accent-color);
    background:rgba(var(--accent-rgb),.08);
    position:relative;
}

.privacy__nav a.active::before {
    content:"";
    position:absolute;

    left:0;
    top:8px;
    bottom:8px;

    width:4px;
    border-radius:20px;

    background:var(--accent-color);
}

.privacy__nav.closed .privacy__btn:hover::after {
    transform: translateY(-50%) rotate(45deg) scale(1.15);
}

.privacy__nav.closed .privacy__btn::after {
    transform: translateY(-50%) rotate(45deg);
}

.privacy__nav.closed ul {
    max-height:0;
    opacity:0;
}

.privacy__nav:not(.closed) ul {
    max-height:600px;
    opacity:1;
}

.privacy-content p,
.privacy-content li {
    font-family: var(--montserrat-regular-font);
    font-size: var(--text-size-16);
    font-weight: var(--fw-regular);
    line-height: 1.55em;
    color: var(--text-color);
    
}

.privacy-content li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
}

.privacy-content li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.privacy-content p,
.privacy-content ul,
.privacy-content ol {
    margin-bottom: 20px;
}

.privacy-content a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    color: var(--accent-color-hover);
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .privacy__nav {
        top: 112px;
    }

    h2 {
        font-size: var(--text-size-32);
    }

    h3 {
        font-size: var(--text-size-28);
    }

    h4 {
        font-size: var(--text-size-24);
    }

    h5 {
        font-size: var(--text-size-20);
    }

    h6 {
        font-size: var(--text-size-18);
    }
}

@media (max-width: 991px) {
    .privacy .border-title {
        margin-bottom: 40px;
    }

    .privacy__nav ul {
        padding: 16px 24px;
    }
}