/* public/css/policy-pages.css */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #077c8c;
    --primary-dark: #056674;
    --primary-light: #effcfd; /* Very light background for active states */
    --text-heading: #1e293b;
    --text-body: #475569;
    --bg-body: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
}

/* --- CLEAN HEADER SECTION (No Background Color) --- */
.policy-header {
    background: transparent; /* Background hata diya */
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: 1px solid transparent;
}

.policy-header h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color); /* Title ko color diya taaki pop kare */
    letter-spacing: -0.025em;
}

/* --- SIDEBAR NAVIGATION --- */
.policy-sidebar {
    position: sticky;
    top: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 15px;
    padding-left: 10px;
    letter-spacing: 0.5px;
}

.nav-link-custom {
    display: block;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: var(--text-body);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.nav-link-custom:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-left-color: var(--primary-color);
}

/* --- MAIN CONTENT BOX --- */
.policy-content-box {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    min-height: 500px;
}

/* --- CONTENT SECTIONS --- */
.policy-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.section-title {
    color: var(--text-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

/* Optional: Chhoti Colored Line Title ke side mein */
.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 24px;
    background: var(--primary-color);
    margin-right: 12px;
    border-radius: 4px;
}

.policy-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 20px;
}

/* --- LIST STYLING (Checkmarks) --- */
.policy-list {
    list-style: none; /* Default dots hataye */
    padding: 0;
    margin-top: 15px;
}

.policy-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Custom Green/Blue Checkmark Icon */
.policy-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
   
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- SKELETON LOADER --- */
.skeleton-box {
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.skeleton-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .policy-content-box {
        padding: 24px 20px;
        box-shadow: none; /* Mobile pe shadow hata di clean look ke liye */
        border: none;
        background: transparent;
    }
    .policy-header {
        padding: 40px 0 20px;
    }
    .policy-header h1 {
        font-size: 2rem;
    }
    .policy-sidebar {
        display: none;
    }
}















