*,
html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    position: relative;
    font-family: 'Raleway', 'Poppins', sans-serif;
}

:root {
    --gradient-primary: linear-gradient(145deg, #0866ad, #0a4c7e);
    --gradient-secondary: linear-gradient(145deg, #001627, #001e35);
    
    --primary: #0866ad;
    --primary-hover: #0a4c7e;
    --primary-soft: rgba(8, 102, 173, 0.1);
    --secondary: #001627;
    --secondary-hover: #001e35;
    --secondary-soft: rgba(0, 22, 39, 0.05);
    --light-bg: #ffffff;

    --text-light: #ffffff;
    --text-soft: #f8f9fa;
    --text-muted: #444c53;
    --text-dark: #001627;

    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(8, 102, 173, 0.15);
    --shadow-lg: 0 15px 40px rgba(8, 102, 173, 0.2);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    --border-radius-sm: 10px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;
    --border-radius-xl: 32px;
}

/* Nav */
.landing_privacy {
    width: 100%;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    transition: 0.5s ease-in-out;
    
    & > .land_container {
        width: 80%;
        position: relative;
        margin: 0 auto;
        transition: 0.5s ease-in-out;
        z-index: 2;
    }
}

/* Theme Block */
.theme_block {
    width: 15px;
    height: 15px;
    background-color: var(--primary);
}

/* Mini Header */
.privacy_mini_header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    
    &.center {
        justify-content: center;
    }
    
    & > .theme_block {
        width: 15px;
        height: 15px;
        background-color: var(--primary);
    }
    
    & > span {
        font-size: 1.1em;
        font-weight: 600;
        color: var(--primary);
        letter-spacing: 2px;
    }
}

/* Section Title */
.privacy_section_title {
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    
    & > span {
        color: var(--primary);
    }
    
    &.left {
        text-align: left;
    }
    
    &.light {
        color: var(--text-light);
    }
}

/* Hero Section */
.privacy_hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #001627 100%);
    overflow: hidden;
    
    & > .privacy_hero_overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../IMAGES/privacy-bg.jpg);
        background-size: cover;
        background-position: center;
        opacity: 0.2;
        z-index: 0;
    }
    
    & > .privacy_nav_wrapper {
        position: relative;
        z-index: 10;
    }
    
    & > .privacy_hero_content {
        position: relative;
        z-index: 5;
        max-width: 900px;
        margin: 0 auto;
        padding: 40px;
        text-align: center;
        
        & > .privacy_hero_badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            
            & > .theme_block {
                background-color: var(--primary);
            }
            
            & > span {
                color: var(--primary);
                font-size: 0.9em;
                font-weight: 600;
                letter-spacing: 3px;
                text-transform: uppercase;
            }
        }
        
        & > .privacy_hero_title {
            font-size: 4em;
            line-height: 1.2;
            font-weight: 300;
            color: var(--text-light);
            margin-bottom: 25px;
            
            & > span {
                display: inline;
                font-weight: 700;
                background: linear-gradient(135deg, var(--primary), #adcadf);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }
        }
        
        & > .privacy_hero_desc {
            font-size: 1.2em;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            max-width: 700px;
            margin: 0 auto;
        }
        
        & > .privacy_hero_date {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            
            & > span {
                padding: 8px 20px;
                background: rgba(255, 255, 255, 0.1);
                border-radius: 50px;
                font-size: 0.85em;
                color: rgba(255, 255, 255, 0.8);
                backdrop-filter: blur(5px);
            }
        }
    }
    
    & > .privacy_scroll_indicator {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        z-index: 10;
        
        & > span {
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 1px;
        }
        
        & > .privacy_scroll_line {
            width: 2px;
            height: 40px;
            background: linear-gradient(to bottom, var(--primary), transparent);
            animation: scrollPulse 2s ease-in-out infinite;
        }
    }
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Table of Contents */
.privacy_toc {
    padding: 60px 0;
    background: var(--light-bg);
    
    & > .privacy_toc_container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        
        & > .privacy_toc_header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        & > .privacy_toc_grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            
            & > .privacy_toc_item {
                padding: 12px 20px;
                background: #f8fafc;
                border-radius: var(--border-radius-md);
                text-decoration: none;
                color: var(--text-muted);
                font-size: 0.9em;
                font-weight: 500;
                transition: all 0.3s ease;
                border: 1px solid #e2e8f0;
                
                &:hover {
                    background: var(--primary-soft);
                    color: var(--primary);
                    border-color: var(--primary);
                    transform: translateY(-2px);
                }
                
                &.active {
                    background: var(--primary);
                    color: white;
                    border-color: var(--primary);
                }
            }
        }
    }
}

/* Privacy Content */
.privacy_content {
    padding: 60px 0;
    background: #f8fafc;
    
    & > .privacy_content_container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
        
        & > .privacy_section {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            
            &:hover {
                box-shadow: var(--shadow-md);
            }
            
            & > .privacy_section_header {
                margin-bottom: 25px;
            }
            
            & > .privacy_section_content {
                & > p {
                    color: var(--text-muted);
                    line-height: 1.8;
                    margin-bottom: 20px;
                    font-size: 1em;
                }
                
                & > h3 {
                    font-size: 1.3em;
                    color: var(--secondary);
                    margin: 25px 0 15px;
                    font-weight: 700;
                }
                
                & > ul {
                    margin: 20px 0;
                    padding-left: 25px;
                    
                    & > li {
                        color: var(--text-muted);
                        line-height: 1.8;
                        margin-bottom: 10px;
                        
                        & > strong {
                            color: var(--primary);
                        }
                    }
                }
            }
        }
    }
}

/* Note Box */
.privacy_note {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin: 25px 0;
    display: flex;
    gap: 15px;
    
    & > span {
        font-size: 1.5em;
    }
    
    & > p {
        color: var(--primary);
        margin: 0;
        line-height: 1.6;
    }
}

/* Contact Card */
.privacy_contact_card {
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
    
    & > .privacy_contact_row {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        
        &:last-child {
            margin-bottom: 0;
        }
        
        & > .privacy_contact_icon {
            font-size: 1.5em;
            min-width: 40px;
        }
        
        & > div > strong {
            display: block;
            color: var(--secondary);
            margin-bottom: 5px;
        }
        
        & > div > a,
        & > div > p {
            color: var(--text-muted);
            text-decoration: none;
            
            &:hover {
                color: var(--primary);
            }
        }
    }
}

/* Contact Button */
.privacy_contact_btn {
    margin: 30px 0 20px;
    
    & > .privacy_btn {
        display: inline-block;
        padding: 12px 30px;
        background: var(--primary);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s ease;
        
        &:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
    }
}

/* Acknowledgement Section */
.privacy_acknowledgement {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, #002b4a 100%);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    text-align: center;
    
    & > .privacy_acknowledgement_content {
        & > .privacy_acknowledgement_icon {
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            color: white;
            margin: 0 auto 20px;
        }
        
        & > h3 {
            color: white;
            font-size: 1.5em;
            margin-bottom: 15px;
        }
        
        & > p {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
            margin-bottom: 30px;
        }
        
        & > .privacy_acknowledgement_links {
            display: flex;
            justify-content: center;
            gap: 30px;
            
            & > .privacy_link {
                color: var(--primary);
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
                
                &:hover {
                    color: white;
                    text-decoration: underline;
                }
            }
        }
    }
}

/* Floating Catalogue */
.floating-catalogue {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    
    & > .floating-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 28px;
        background: var(--secondary);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(8, 102, 173, 0.3);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(8, 102, 173, 0.5);
            background: var(--secondary-hover);
        }
        
        & > .icon {
            font-size: 1.6em;
        }
        
        & > .text {
            font-weight: 500;
            font-size: 1em;
        }
    }
}

/* Print Styles */
@media print {
    .privacy_nav_wrapper,
    .privacy_scroll_indicator,
    .privacy_toc,
    .floating-catalogue,
    footer,
    .privacy_hero_stats,
    .privacy_hero_overlay,
    .privacy_acknowledgement_links,
    .privacy_contact_btn {
        display: none !important;
    }
    
    .privacy_hero {
        min-height: auto;
        background: white;
    }
    
    .privacy_hero_content {
        padding: 20px !important;
    }
    
    .privacy_hero_title {
        color: var(--secondary) !important;
        
        & > span {
            -webkit-text-fill-color: var(--primary) !important;
        }
    }
    
    .privacy_hero_desc {
        color: var(--text-muted) !important;
    }
    
    .privacy_content_container {
        max-width: 100% !important;
    }
    
    .privacy_section {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #e2e8f0;
    }
    
    a {
        text-decoration: none;
        color: var(--primary);
    }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .privacy_toc_grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media screen and (max-width: 992px) {
    .privacy_toc_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .privacy_hero_title {
        font-size: 3em !important;
    }
}

@media screen and (max-width: 768px) {
    .landing_privacy {
        & > .land_container {
            width: 90%;
        }
    }
    
    .privacy_hero_title {
        font-size: 2.5em !important;
    }
    
    .privacy_hero_desc {
        font-size: 1em !important;
    }
    
    .privacy_hero_date {
        flex-direction: column;
        gap: 10px;
        
        & > span {
            width: fit-content;
            margin: 0 auto;
        }
    }
    
    .privacy_toc_grid {
        grid-template-columns: 1fr !important;
    }
    
    .privacy_content > .privacy_content_container > .privacy_section {
        padding: 25px;
    }
    
    .privacy_section_title {
        font-size: 1.8em;
    }
    
    .privacy_acknowledgement {
        padding: 30px 20px;
    }
    
    .privacy_acknowledgement_links {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-catalogue > .floating-btn > .text {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .privacy_hero_title {
        font-size: 2em !important;
    }
    
    .privacy_section_title {
        font-size: 1.5em;
    }
    
    .privacy_section_content > h3 {
        font-size: 1.2em;
    }
    
    .privacy_note {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy_contact_row {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy_contact_icon {
        margin: 0 auto;
    }
}