/* ============================================
   EMIRA Cleaning Services – Privacy Policy
   Color Palette derived from logo:
   Primary Deep Blue:   #0A3058
   Primary Mid Blue:    #0F5E8F
   Accent Cyan:         #2CA8C9
   Accent Light Cyan:   #44B8CB
   Highlight Pale Aqua: #DDFBFF
   Background Light:    #F4FBFE
   Text Dark:           #1A2A3A
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F4FBFE;
    color: #2D3E50;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
.policy-header {
    background: linear-gradient(145deg, #07324B 0%, #0F5E8F 50%, #2CA8C9 100%);
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(68, 184, 203, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.policy-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(221, 251, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.header-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.header-app-name {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.header-app-tagline {
    font-size: 0.85rem;
    color: rgba(221, 251, 255, 0.7);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.header-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.85rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.header-effective-date {
    font-size: 0.9rem;
    color: rgba(221, 251, 255, 0.85);
    font-weight: 400;
}

/* --- Main Content --- */
.policy-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* --- Section Block --- */
.policy-section {
    margin-bottom: 2.25rem;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 2rem 2.25rem;
    box-shadow: 0 2px 12px rgba(10, 48, 88, 0.05);
    border: 1px solid rgba(44, 168, 201, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.policy-section:hover {
    box-shadow: 0 4px 20px rgba(10, 48, 88, 0.09);
    transform: translateY(-1px);
}

.section-number {
    display: inline-block;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #2CA8C9;
    background: rgba(44, 168, 201, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.section-heading {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 650;
    color: #0A3058;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.section-text {
    font-size: 0.975rem;
    color: #3A4F63;
    line-height: 1.85;
    margin-bottom: 0.85rem;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* --- Highlighted list items --- */
.info-item {
    display: flex;
    align-items: flex-start;
    padding: 0.7rem 0;
    gap: 0.7rem;
}

.info-item + .info-item {
    border-top: 1px solid rgba(44, 168, 201, 0.08);
}

.info-label {
    font-weight: 600;
    color: #0F5E8F;
    white-space: nowrap;
    min-width: fit-content;
}

.info-desc {
    color: #3A4F63;
}

/* --- Bullet list styling --- */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.85rem;
}

.policy-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.6rem;
    font-size: 0.975rem;
    color: #3A4F63;
    line-height: 1.75;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2CA8C9, #44B8CB);
}

.policy-list li + li {
    border-top: 1px solid rgba(44, 168, 201, 0.06);
}

/* --- Emphasis / highlight block --- */
.highlight-block {
    background: linear-gradient(135deg, rgba(44, 168, 201, 0.06) 0%, rgba(221, 251, 255, 0.4) 100%);
    border-left: 3px solid #2CA8C9;
    border-radius: 0 10px 10px 0;
    padding: 1.15rem 1.5rem;
    margin: 1rem 0;
    font-size: 0.975rem;
    color: #0A3058;
    line-height: 1.8;
}

/* --- Contact block --- */
.contact-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.contact-block .email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0F5E8F, #2CA8C9);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-block .email-icon svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF;
}

.contact-link {
    color: #0F5E8F;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #2CA8C9;
}

/* --- Footer --- */
.policy-footer {
    background: linear-gradient(145deg, #07324B 0%, #0A3058 100%);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-company {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
    letter-spacing: 0.5px;
}

.footer-email {
    color: rgba(221, 251, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: #44B8CB;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: rgba(44, 168, 201, 0.35);
    margin: 1rem auto;
    border: none;
}

.footer-updated {
    font-size: 0.8rem;
    color: rgba(221, 251, 255, 0.5);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #0F5E8F, #2CA8C9);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(10, 48, 88, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2CA8C9, #44B8CB);
    box-shadow: 0 6px 22px rgba(44, 168, 201, 0.35);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .policy-header {
        padding: 2.5rem 1.25rem 2rem;
    }

    .header-logo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .header-app-name {
        font-size: 1.35rem;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .policy-content {
        padding: 1.75rem 1rem 3rem;
    }

    .policy-section {
        padding: 1.5rem 1.35rem;
        border-radius: 12px;
    }

    .section-heading {
        font-size: 1.2rem;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .policy-header {
        padding: 2rem 1rem 1.75rem;
    }

    .header-logo {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .header-app-name {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .header-title {
        font-size: 1.3rem;
    }

    .policy-section {
        padding: 1.25rem 1.1rem;
        margin-bottom: 1.5rem;
    }

    .section-heading {
        font-size: 1.1rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.2rem;
    }
}
