/* Header styling */
.privacy-header {
    text-align: center;
    background: #038e9e !important;
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.privacy-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.privacy-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 90%;
}

.privacy-header::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Sidebar styling */
.sidebar-container {
    position: sticky;
    top: 124px;
}

.sidebar {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 25px;
    height: auto;
    overflow-y: auto;
    transition: all 0.3s ease;
    /* border-left: 5px solid var(--primary-color); */
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgb(21 94 149) !important;
}

.sidebar-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 12px;
}

.search-box {
    position: relative;
    margin-bottom: 25px;
}

#search-input {
    width: 100%;
    padding: 12px 0px 12px 17px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}


#search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    border-color: var(--primary-color);
    background-color: white;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.toc-nav {
    margin-top: 10px;
}

.toc-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 18px;
}

.toc-link:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    transform: translateX(5px);
}


.toc-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.toc-link.highlight {
    background-color: var(--highlight-color);
    font-weight: 600;
    color: var(--primary-color);
}

/* Main content styling */
.content-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 0;
    overflow: hidden;
}

.main-content {
    padding: 30px;
}

.section {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 40px;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: black;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaecef;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

.section p {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 18px;
}

.section ul {

    padding-left: 25px;
    margin-bottom: 20px;
}

.section ul li {
    font-size: 18px;
    margin-bottom: 8px;
}

.section strong {
    color: black;
    font-weight: 600;
}

/* Footer styling */
.privacy-footer {
    background-color: var(--bg-white);
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
}

.footer-actions a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-actions a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.icon {
    color: #038e9e !important;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .sidebar-container {
        margin-bottom: 30px;
        position: relative;
        top: 0;
    }

    .sidebar {
        height: auto;
        max-height: 400px;
    }

    .privacy-header {
        border-radius: 0px;
        padding: 30px 20px;
    }

    .privacy-header h1 {
        font-size: 1.8rem;
    }
}

/* Animation for section hover */
.section {
    transition: transform 0.3s ease;
}


/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Progress bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 5px;
    background: var(--primary-color);
    width: 0%;
}

.effective-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.date {
    color: black;
    font-size: 24px;
    font-weight: 700;
}