.privacy-page {
    padding: 40px 0 60px;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #999;
}

.breadcrumb-item a {
    color: #15803D;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #e8f5e9;
    border-radius: 30px;
    color: #15803D;
    font-size: 14px;
}

.last-updated svg {
    stroke: #15803D;
}

/* POPIA Banner */
.popia-banner {
    background: linear-gradient(135deg, #15803D 0%, #0f6b2f 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(21, 128, 61, 0.2);
}

.popia-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popia-content h2 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
}

.popia-content p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.5;
}

/* Privacy Content Layout */
.privacy-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Quick Navigation */
.quick-nav {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.quick-nav h3 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #15803D;
}

.quick-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav-list li {
    margin-bottom: 8px;
}

.quick-nav-list a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 6px 0;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.quick-nav-list a:hover {
    color: #15803D;
    border-left-color: #15803D;
    padding-left: 15px;
}

/* Policy Sections */
.policy-sections {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #15803D;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.section-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
}

.section-content {
    padding-left: 55px;
}

.section-content h3 {
    font-size: 1.2rem;
    color: #444;
    margin: 25px 0 15px 0;
}

.section-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Definitions List */
.definitions-list dt {
    font-weight: 600;
    color: #15803D;
    margin-top: 20px;
    font-size: 1.1rem;
}

.definitions-list dt:first-child {
    margin-top: 0;
}

.definitions-list dd {
    color: #555;
    line-height: 1.6;
    margin: 5px 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5e5e5;
}

.definitions-list dd:last-of-type {
    border-bottom: none;
}

/* Info Categories */
.info-category {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.info-category h3 {
    margin-top: 0;
    color: #15803D;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.info-list li {
    color: #555;
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: "•";
    color: #15803D;
    font-weight: bold;
    position: absolute;
    left: 5px;
}

.note {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    background-color: #fff9e6;
    padding: 10px;
    border-radius: 6px;
}

/* Important Note */
.important-note {
    background-color: #fff3e0;
    border-left: 4px solid #EA580C;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Collection Methods */
.collection-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.method-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.method-item h3 {
    margin-top: 0;
    color: #15803D;
    font-size: 1.1rem;
}

.method-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.method-list li {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.method-list li::before {
    content: "→";
    color: #EA580C;
    position: absolute;
    left: 0;
}

/* Legal Grounds */
.legal-grounds {
    display: grid;
    gap: 15px;
}

.ground-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    align-items: flex-start;
}

.ground-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ground-content h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.ground-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.usage-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid #15803D;
}

.usage-card h4 {
    margin: 0 0 15px 0;
    color: #15803D;
    font-size: 1.1rem;
}

.usage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-card li {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.usage-card li::before {
    content: "✓";
    color: #15803D;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.measure-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.measure-item svg {
    flex-shrink: 0;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.security-list li {
    color: #555;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.security-list li::before {
    content: "🔒";
    position: absolute;
    left: 0;
    opacity: 0.7;
}

.security-notice {
    background-color: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

/* Retention Table */
.retention-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.retention-table th {
    background-color: #15803D;
    color: white;
    padding: 12px;
    text-align: left;
}

.retention-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.retention-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.right-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.right-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(21, 128, 61, 0.1);
}

.right-icon {
    margin-bottom: 15px;
}

.right-card h4 {
    color: #15803D;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.right-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Request Form Info */
.request-form-info {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.request-form-info h4 {
    color: #15803D;
    margin: 0 0 10px 0;
}

.request-form-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.request-form-info li {
    color: #555;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.request-form-info li::before {
    content: "📋";
    position: absolute;
    left: 0;
}

/* Cookies Table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookies-table th {
    background-color: #15803D;
    color: white;
    padding: 12px;
    text-align: left;
}

.cookies-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.cookies-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Browser Links */
.browser-links {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.browser-links h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.browser-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.browser-links a {
    color: #15803D;
    text-decoration: none;
    padding: 5px 10px;
    background-color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.browser-links a:hover {
    background-color: #15803D;
    color: white;
}

/* Cookie Notice */
.cookie-notice {
    background-color: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #15803D;
}

.contact-card h4 {
    color: #15803D;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.contact-card p {
    margin: 8px 0;
    color: #555;
}

.contact-card a {
    color: #15803D;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Office Hours */
.office-hours {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.office-hours h4 {
    color: #15803D;
    margin: 0 0 10px 0;
}

.office-hours p {
    margin: 0;
    color: #555;
}

/* Complaint Info */
.complaint-info {
    background-color: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.complaint-info h4 {
    color: #EA580C;
    margin: 0 0 15px 0;
}

.complaint-info p {
    margin: 8px 0;
}

.complaint-steps {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    counter-reset: step-counter;
}

.complaint-steps li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: #555;
}

.complaint-steps li::before {
    content: counter(step-counter);
    background-color: #15803D;
    color: white;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Consent Acknowledgement */
.consent-acknowledgement {
    margin-top: 30px;
}

.consent-box {
    background: linear-gradient(135deg, #15803D 0%, #0f6b2f 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.consent-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .privacy-content {
        grid-template-columns: 1fr;
    }
    
    .quick-nav {
        position: static;
        margin-bottom: 20px;
    }
    
    .quick-nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .quick-nav-list a {
        padding: 8px;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    
    .quick-nav-list a:hover {
        border-left-color: transparent;
        border-bottom-color: #15803D;
        padding-left: 8px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .popia-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .section-content {
        padding-left: 0;
    }
    
    .section-header {
        flex-wrap: wrap;
    }
    
    .info-list {
        grid-template-columns: 1fr;
    }
    
    .collection-methods,
    .usage-grid,
    .rights-grid,
    .security-measures,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-nav-list {
        grid-template-columns: 1fr;
    }
    
    .retention-table,
    .cookies-table {
        display: block;
        overflow-x: auto;
    }
    
    .ground-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .policy-sections {
        padding: 20px;
    }
    
    .section-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
}
