.services_image_container {
    position: relative;
    max-width: 100%;
    max-height: 400px;
    overflow: hidden;
    background-image: url('img/privacy-policy-banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services_image_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.overlay_text {
    color: white;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animations */
.overlay_text .text1 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    /* Optional: increase slightly */
}

.overlay_text .text2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Optional: increase for punch */
}

@media (max-width: 768px) {
  .services_image_container {
    background-attachment: scroll; /* Prevents jank on mobile */
  }
}



.services_image_container.in-view .overlay_text {
    opacity: 1;
    transform: translateY(0);
}

.services_image_container.in-view .text1 {
    opacity: 1;
    transform: translateY(0);
}

.services_image_container.in-view .text2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.qe-privacy-wrapper {
    background: #f4f7fb;
    padding: 50px 20px;
}

.qe-privacy-box {
    background: #fff;
    max-width: 1200px;
    margin: auto;
    padding: 40px 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: "Muli", sans-serif;
}

.qe-pp-title {
    font-size: 32px;
    font-weight: 800;
    color: #01396f;
    margin-bottom: 5px;
}

.qe-pp-meta {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
}

.qe-pp-section {
    margin-top: 28px;
}

.qe-pp-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #01396f;
    margin-bottom: 10px;
    border-left: 4px solid #01396f;
    padding-left: 10px;
}

.qe-pp-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.qe-pp-section ul {
    padding-left: 20px;
    margin: 8px 0;
}

.qe-pp-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.qe-privacy-box a {
    color: #01396f;
    font-weight: 600;
    text-decoration: none;
}

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

@media(max-width: 600px) {
    .qe-privacy-box {
        padding: 25px 20px;
    }
    .qe-pp-title {
        font-size: 26px;
    }
    .qe-pp-section h2 {
        font-size: 18px;
    }
}
