/* Custom CSS for Privacy Policy Page */

/* --- Variables (consistent with other pages) --- */
:root {
    --rudrra-blue: #007bff; /* Primary Blue */
    --rudrra-dark-blue: #0056b3; /* Darker Blue */
    --rudrra-light-blue: #e6f0ff; /* Lighter Blue for backgrounds */
    --rudrra-yellow: #ffc107; /* Warning/Accent Yellow */
    --text-dark: #343a40;
    --text-muted: #6c757d;
    --text-secondary: #495057;
    --bg-light: #f8f9fa;
    --section-padding: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light); /* Light background for the whole page */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.text-primary {
    color: var(--rudrra-blue) !important;
}

.text-success {
    color: #28a745 !important;
}
/* Standard Bootstrap success green */


/* --- Hero Section (consistent with other pages) --- */
.hero-section {
    background: linear-gradient(to right, rgba(0, 0, 50, 0.8), rgba(0, 123, 255, 0.4));
    min-height: 350px; /* Shorter hero for internal pages */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0, 123, 255, 0.4));
    z-index: 0;
}

.hero-section .container {
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-section .lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}


/* --- Privacy Policy Content Section --- */
.privacy-content-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

    .privacy-content-section .bg-white {
        background-color: #fff;
        border-radius: 12px;
    }

    .privacy-content-section h2 {
        font-size: 2.5rem;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--rudrra-light-blue);
    }

    .privacy-content-section h4 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
        color: var(--text-secondary);
    }

    .privacy-content-section p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--text-dark);
        margin-bottom: 1.25rem;
    }

    .privacy-content-section ul {
        list-style: none; /* Remove default bullet */
        padding-left: 0;
        margin-bottom: 2.5rem;
    }

        .privacy-content-section ul li {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-dark);
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;
        }

            .privacy-content-section ul li i {
                margin-right: 10px;
                font-size: 1.1em;
                flex-shrink: 0; /* Prevent icon from shrinking */
                margin-top: 5px; /* Align icon better with text */
            }

            /* Specific icon colors */
            .privacy-content-section ul li .fa-dot-circle {
                color: var(--rudrra-blue);
            }

            .privacy-content-section ul li .fa-share-alt {
                color: #dc3545;
            }
            /* Bootstrap danger color */
            .privacy-content-section ul li .fa-lock {
                color: #28a745;
            }
            /* Bootstrap success color */
            .privacy-content-section ul li .fa-envelope-open-text,
            .privacy-content-section ul li .fa-map-marker-alt,
            .privacy-content-section ul li .fa-phone-alt {
                color: var(--rudrra-blue);
            }


.contact-info li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

    .contact-info li a {
        color: var(--text-dark);
        font-weight: 600;
    }

        .contact-info li a:hover {
            color: var(--rudrra-blue);
        }


/* --- Table of Contents Sidebar --- */
#toc-sidebar {
    top: 90px; /* Adjust based on your fixed header height */
}

    #toc-sidebar h5 {
        color: var(--rudrra-blue);
        font-size: 1.3rem;
    }

#privacyToc .nav-link {
    color: var(--text-muted);
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    font-size: 0.95rem;
}

    #privacyToc .nav-link:hover {
        color: var(--rudrra-blue);
        background-color: var(--rudrra-light-blue);
    }

    #privacyToc .nav-link.active {
        background-color: var(--rudrra-blue);
        color: #fff !important;
        font-weight: 600;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

        #privacyToc .nav-link.active:hover {
            background-color: var(--rudrra-dark-blue);
            color: #fff !important;
        }


/* --- WOW.js Animations --- */
.wow {
    visibility: hidden;
}


/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section .lead {
        font-size: 1.3rem;
    }

    .privacy-content-section h2 {
        font-size: 2.2rem;
    }

    .privacy-content-section h4 {
        font-size: 1.4rem;
    }

    .privacy-content-section p, .privacy-content-section ul li {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) { /* Adjust for large breakpoint, hide TOC on smaller screens */
    .hero-section {
        min-height: 280px;
    }

        .hero-section h1 {
            font-size: 2.5rem;
        }

        .hero-section .lead {
            font-size: 1.1rem;
        }

    #toc-sidebar {
        display: none !important; /* Hide sidebar on smaller screens */
    }

    .privacy-content-section .col-lg-9 {
        width: 100%; /* Take full width on smaller screens */
    }

    .privacy-content-section h2 {
        font-size: 2rem;
    }

    .privacy-content-section h4 {
        font-size: 1.3rem;
    }

    .privacy-content-section p, .privacy-content-section ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 220px;
        padding: 40px 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section .lead {
            font-size: 0.9rem;
        }

    .privacy-content-section {
        padding: 40px 0;
    }

        .privacy-content-section .bg-white {
            padding: 30px !important;
        }

        .privacy-content-section h2 {
            font-size: 1.8rem;
        }

        .privacy-content-section h4 {
            font-size: 1.2rem;
        }

        .privacy-content-section p, .privacy-content-section ul li {
            font-size: 0.9rem;
        }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.8rem;
    }

    .privacy-content-section .bg-white {
        padding: 20px !important;
    }

    .privacy-content-section h2 {
        font-size: 1.5rem;
    }

    .privacy-content-section h4 {
        font-size: 1.1rem;
    }

    .privacy-content-section p, .privacy-content-section ul li {
        font-size: 0.85rem;
    }

    .privacy-content-section ul li {
        margin-bottom: 5px;
    }
}
