/* =========================================
   POLICY PAGE STYLES
   ========================================= */

.policy-section {
    margin-bottom: 80px;
}

.policy-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* --- Sidebar --- */
.policy-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 100px; /* Sticks when scrolling */
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.policy-nav li {
    margin-bottom: 5px;
}

.policy-nav a {
    display: block;
    padding: 12px 15px;
    color: #555;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.policy-nav a:hover {
    background: #f9f9f9;
    color: var(--dark);
    padding-left: 20px;
}

/* Active State (Jis page par user hai) */
.policy-nav a.active {
    background: rgba(128, 235, 14, 0.1); /* Light Neon Green */
    color: var(--dark);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* --- Main Content --- */
.policy-content {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.policy-header-text {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.policy-header-text h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}
.last-updated {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* Typography for Long Text */
.text-block {
    margin-bottom: 30px;
}
.text-block h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}
.text-block p {
    color: #666;
    line-height: 1.8; /* Acha gap reading ke liye */
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: justify;
}

.text-block ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.text-block ul li {
    list-style: disc;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}
.text-block strong {
    color: var(--dark);
}

/* Responsive */
@media (max-width: 991px) {
    .policy-wrapper {
        flex-direction: column;
    }
    .policy-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
    .policy-content {
        padding: 25px;
    }
}