/* Base Styles */
.privacy-policy-block {
    background-color: #EDE8F5;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin: 60px auto;
    position: relative;
    overflow: hidden; /* Ensures content stays inside the block */
}

.privacy-policy-block h2 {
    color: #3D52A0;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-policy-block h3 {
    color: #7091E6;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 14px;
}

.privacy-policy-block p {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
}

.privacy-policy-block ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #000000;
}

.privacy-section {
    margin-bottom: 30px;
}

/* Image Card */
.privacy-policy-image-card {
     margin-left: 500px;
    margin-top: -20px;
    width: 200px; /* Set width for control */
    height: auto;
    border-radius: 15px; /* Match the card radius */
    z-index: 0; /* Image below the content */
    animation: rotate 7s ease-in-out infinite; /* Floating animation */
    position: absolute;
}

.privacy-policy-image-card img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.5s;
}

.privacy-policy-image-card img:hover {
    transform: scale(1.05); /* Adds hover effect */
}

/* Responsive Styles */

/* Medium Screens (Tablets and Laptops) */
@media (max-width: 1024px) {
    .privacy-policy-block {
        padding: 30px;
        max-width: 90%;
    }

    .privacy-policy-block h2 {
        font-size: 2.2rem;
    }

    .privacy-policy-block h3 {
        font-size: 1.4rem;
    }

    .privacy-policy-block p {
        font-size: 1rem;
    }

    .privacy-policy-image-card {
        position: static; /* No absolute positioning */
        margin: 20px auto; /* Center image */
        display: block; /* Ensure visibility */
        width: 150px; /* Adjust size */
    }
}

/* Small Screens (Mobile Devices) */
@media (max-width: 768px) {
    .privacy-policy-block {
        padding: 20px;
        max-width: 95%;
    }

    .privacy-policy-block h2 {
        font-size: 2rem;
    }

    .privacy-policy-block h3 {
        font-size: 1.3rem;
    }

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

    .privacy-policy-image-card {
        margin: 15px auto; /* Center on smaller screens */
        width: 120px; /* Reduce size */
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .privacy-policy-block {
        padding: 15px;
        max-width: 100%;
    }

    .privacy-policy-block h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .privacy-policy-block h3 {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .privacy-policy-block p {
        font-size: 0.9rem;
    }

    .privacy-policy-block ul {
        margin-left: 15px;
    }

    .privacy-policy-image-card {
        margin: 10px auto;
        width: 100px; /* Further reduce size */
    }
}

/* Animations */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
