/* ==========================================================================
   OXY EXHAUST SERVICE - PRIVACY POLICY STYLESHEET
   Dedicated CSS for Privacy Policy Page
   ========================================================================== */

:root {
    --privacy-primary: #5C4033;
    --privacy-primary-hover: #4a3328;
    --privacy-secondary: #001064;
    --privacy-light-bg: #F8F9FA;
    --privacy-dark-text: #010A35;
    --privacy-muted-text: #6c757d;
    --privacy-border: #e9ecef;
    --privacy-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    --privacy-hover-shadow: 0 12px 32px rgba(92, 64, 51, 0.12);
    --privacy-radius: 14px;
}

/* --------------------------------------------------------------------------
   Layout & Container Adjustments
   -------------------------------------------------------------------------- */
.privacy-policy-section {
    background-color: #fcfcfd;
    padding: 60px 0 80px;
}

/* --------------------------------------------------------------------------
   Quick Navigation / Table of Contents (TOC)
   -------------------------------------------------------------------------- */
.privacy-toc-card {
    background: #ffffff;
    border: 1px solid var(--privacy-border);
    border-radius: var(--privacy-radius);
    padding: 24px 20px;
    box-shadow: var(--privacy-shadow);
    position: sticky;
    top: 100px;
    z-index: 10;
}

.privacy-toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f3f5;
}

.privacy-toc-header i {
    color: var(--privacy-primary);
    font-size: 20px;
}

.privacy-toc-header h5 {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--privacy-dark-text);
    margin: 0;
}

.privacy-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--privacy-primary) transparent;
}

.privacy-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.privacy-toc-link:hover {
    color: var(--privacy-primary);
    background-color: #fcf8f5;
    border-left-color: var(--privacy-primary);
    padding-left: 15px;
}

.privacy-toc-link.active {
    color: var(--privacy-primary);
    background-color: #f8f1eb;
    border-left-color: var(--privacy-primary);
    font-weight: 600;
}

.privacy-toc-link i {
    font-size: 14px;
    opacity: 0.7;
    width: 18px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Privacy Header Meta Banner
   -------------------------------------------------------------------------- */
.privacy-meta-bar {
    background: #ffffff;
    border: 1px solid var(--privacy-border);
    border-radius: var(--privacy-radius);
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: var(--privacy-shadow);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f1eb;
    color: var(--privacy-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
}

.privacy-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--privacy-primary);
    color: var(--privacy-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-print-btn:hover {
    background: var(--privacy-primary);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Privacy Cards
   -------------------------------------------------------------------------- */
.privacy-card {
    background: #ffffff;
    border: 1px solid var(--privacy-border);
    border-radius: var(--privacy-radius);
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: var(--privacy-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 110px;
}

.privacy-card:hover {
    box-shadow: var(--privacy-hover-shadow);
}

.privacy-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.privacy-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f1eb 0%, #f0e2d5 100%);
    color: var(--privacy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.privacy-card-title {
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--privacy-dark-text);
    margin: 0;
}

.privacy-card-body {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.75;
}

.privacy-card-body p {
    margin-bottom: 16px;
}

.privacy-card-body p:last-child {
    margin-bottom: 0;
}

/* Subheadings */
.privacy-subheading {
    font-family: 'Roboto Slab', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--privacy-dark-text);
    margin-top: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-subheading i {
    color: var(--privacy-primary);
    font-size: 14px;
}

/* Customized Bullet Lists */
.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 20px;
}

.privacy-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.65;
    color: #4a5568;
}

.privacy-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--privacy-primary);
    font-size: 16px;
}

.privacy-list-dot li::before {
    content: "\f111";
    font-size: 8px;
    top: 6px;
}

/* Highlight / Alert Boxes */
.privacy-callout {
    background: #fdfaf7;
    border-left: 4px solid var(--privacy-primary);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.privacy-callout p {
    margin: 0;
    font-size: 14.5px;
    color: #334155;
}

/* Contact & Compliance Card */
.contact-compliance-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfaf7 100%);
    border: 1px solid rgba(92, 64, 51, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-compliance-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--privacy-primary);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.contact-info-item {
    background: #ffffff;
    border: 1px solid var(--privacy-border);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.contact-info-item i {
    font-size: 20px;
    color: var(--privacy-primary);
    margin-top: 2px;
}

.contact-info-item div h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--privacy-dark-text);
    margin: 0 0 4px;
}

.contact-info-item div p,
.contact-info-item div a {
    font-size: 13.5px;
    color: #4b5563;
    margin: 0;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-item div a:hover {
    color: var(--privacy-primary);
}

/* Responsive Table */
.privacy-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--privacy-border);
    border-radius: 10px;
    overflow: hidden;
}

.privacy-table th {
    background-color: #f8f1eb;
    color: var(--privacy-dark-text);
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--privacy-border);
}

.privacy-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--privacy-border);
    font-size: 14px;
    color: #4b5563;
}

.privacy-table tr:last-child td {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .privacy-toc-card {
        position: static;
        margin-bottom: 30px;
    }
    
    .privacy-toc-list {
        max-height: 250px;
    }
    
    .privacy-card {
        padding: 24px;
    }
    
    .privacy-card-title {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .privacy-policy-section {
        padding: 40px 0 60px;
    }
    
    .privacy-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .privacy-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }
    
    .privacy-card-title {
        font-size: 18px;
    }
    
    .privacy-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}
