/* ===============================
   PRIVACY POLICY PAGE STYLES
   =============================== */

/* Page Layout */
.privacy-page {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px;
    gap: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    flex-wrap: wrap; /* allows stacking on smaller screens */
}

/* ===============================
   LEFT CONTENT SECTION
   =============================== */
.privacy-content {
    flex: 2;
    overflow-y: auto;
    padding-right: 20px;
}

/* Main Heading */
.privacy-content h1 {
    font-size: 3em;
    color: var(--primary-color, #0078D4);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    line-height: 1.2;
}

/* Decorative underline */
.privacy-content h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #005fa3;
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* Section Headings */
.privacy-content h2 {
    font-size: 1.6em;
    margin-top: 40px;
    color: #005fa3;
    font-weight: 600;
}

/* Paragraphs */
.privacy-content p {
    margin-top: 10px;
    line-height: 1.7;
    font-size: 1rem;
    color: #555;
}

/* Last updated info */
.privacy-content .last-updated {
    font-weight: bold;
    margin-bottom: 20px;
}

/* Links */
.privacy-content a {
    color: #0078D4;
    text-decoration: none;
    font-weight: 500;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Hide scrollbar */
.privacy-content::-webkit-scrollbar {
    display: none;
}
.privacy-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===============================
   RIGHT IMAGE SECTION
   =============================== */
.privacy-image {
    flex: 1;
    position: sticky;
    top: 120px;
    height: fit-content;
    margin-top: 100px;
    align-self: flex-start;
}

.privacy-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .privacy-page {
        padding: 120px 30px;
        gap: 30px;
    }

    .privacy-content h1 {
        font-size: 2.5em;
    }

    .privacy-content h2 {
        font-size: 1.4em;
    }

    .privacy-image {
        top: 80px;
        margin-top: 60px;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .privacy-page {
        flex-direction: column;
        padding: 140px 20px;
    }

    .privacy-content {
        padding-right: 0;
    }

    .privacy-content h1 {
        font-size: 2.2em;
    }

    .privacy-image {
        position: relative;
        top: 0;
        margin-top: 40px;
        width: 100%;
    }

    .privacy-image img {
        width: 100%;
        height: auto;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .privacy-page {
        padding: 130px 20px;
    }
    .privacy-content h1 {
        font-size: 1.8em;
    }

    .privacy-content h2 {
        font-size: 1.2em;
    }

    .privacy-content p {
        font-size: 0.95rem;
    }

    .privacy-image img {
        border-radius: 8px;
    }
}
