.privacy-policy-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.privacy-policy-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

/* DPDP Banner */
.dpdp-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.dpdp-banner h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dpdp-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* AI Disclosure Box */
.ai-disclosure-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #d97706;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.1);
}

.ai-disclosure-box h4 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ai-disclosure-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.ai-disclosure-box li {
    color: #78350f;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Consent Requirements Box */
.consent-requirements {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #2563eb;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.consent-requirements h5 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1rem;
}

.consent-requirements ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.consent-requirements li {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .rights-grid {
        grid-template-columns: 1fr;
    }
}

.right-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    border-color: #3b82f6;
}

.right-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    background: #dbeafe;
    color: #1e40af;
}

.right-card h5 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.right-card p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.right-card .text-muted {
    font-size: 0.8rem;
    color: #9ca3af !important;
}

/* Policy Card */
.policy-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 2rem;
}

.policy-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white;
}

@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
}

.policy-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.policy-update-badge {
    background: #10b981;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.policy-update-badge i {
    font-size: 1rem;
}

/* Policy Content */
.policy-content {
    padding: 3rem;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
    }
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, #f6f7ff 0%, #f0f2ff 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid #4f46e5;
    margin-bottom: 2.5rem;
}

.table-of-contents h3 {
    color: #4f46e5;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

@media (max-width: 576px) {
    .toc-grid {
        grid-template-columns: 1fr;
    }
}

.toc-item {
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 10px;
    border-left: 3px solid #8b5cf6;
    transition: all 0.3s ease;
}

.toc-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1);
}

.toc-item.active {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 3px solid #0ea5e9;
}

.toc-item a {
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.toc-item a:hover {
    color: #4f46e5;
}

.toc-number {
    background: #4f46e5;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.toc-item.active .toc-number {
    background: #0ea5e9;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    scroll-margin-top: 100px;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e5e7eb;
    position: relative;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
}

.policy-section h3 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.policy-section h4 {
    color: #4b5563;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.policy-section h5 {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.policy-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section strong {
    color: #1f2937;
    font-weight: 600;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #0ea5e9;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.1);
}

.highlight-box h5 {
    color: #0c4a6e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.highlight-box p {
    color: #0c4a6e;
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #f59e0b;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.1);
}

.warning-box h4,
.warning-box h5 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.warning-box p {
    color: #92400e;
    margin-bottom: 1rem;
}

.warning-box ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.warning-box li {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #70ebf6 0%, #2ae7f8 100%);
    color: #0c4a6e;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(42, 231, 248, 0.2);
}

.contact-card h3 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #0c4a6e;
    text-decoration: underline;
    font-weight: 500;
}

.contact-card a:hover {
    color: #0891b2;
}

/* Data List */
.data-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.data-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.data-list li::before {
    content: '•';
    color: #4f46e5;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.warning-box .data-list li::before {
    color: #d97706;
}

.consent-requirements .data-list li::before {
    color: #1e40af;
}

/* Buttons */
.back-to-home {
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    margin-top: 1rem;
}

.back-to-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    color: white;
}

.btn-outline-primary {
    border-color: #4f46e5;
    color: #4f46e5;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
}

/* Compliance Summary */
.bg-light {
    background-color: #f9fafb !important;
}

.border {
    border: 1px solid #e5e7eb !important;
}

.rounded {
    border-radius: 12px !important;
}

/* Text Colors */
.text-primary {
    color: #4f46e5 !important;
}

.text-light {
    color: #f8fafc !important;
}

.text-muted {
    color: #9ca3af !important;
}

/* Section Anchor */
.section-anchor {
    scroll-margin-top: 120px;
}

/* Breadcrumb Area Fix */
.breadcumb-area .breadcumb-content {
    padding: 2rem 0;
}

.breadcumb-area .breadcumb-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .breadcumb-area .breadcumb-title h1 {
        font-size: 2rem;
    }
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-button {
    background: linear-gradient(135deg, #f6f7ff 0%, #f0f2ff 100%);
    color: #4f46e5;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #4f46e5;
}

.accordion-body {
    padding: 1.5rem;
    background: #f9fafb;
}

/* Responsive Grid for Cards */
.row.g-3 {
    --bs-gutter-y: 1rem;
}

.col-md-6 .border.rounded.p-3 {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.col-md-6 .border.rounded.p-3:hover {
    border-color: #4f46e5 !important;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.1);
}

/* Small Text Adjustments */
.small {
    font-size: 0.875rem;
}

.fst-italic {
    font-style: italic;
}

/* Links */
a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #3730a3;
    text-decoration: underline;
}

/* Scroll Margin Fix for Fixed Header */
@media (max-width: 768px) {
    .section-anchor {
        scroll-margin-top: 80px;
    }
}

/* Print Styles */
@media print {
    .back-to-home,
    .btn-outline-primary,
    .breadcumb-area,
    .dpdp-banner,
    .table-of-contents {
        display: none !important;
    }

    .policy-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .policy-content {
        padding: 1rem !important;
    }

    .policy-section {
        break-inside: avoid;
    }
}
