/* ========================  Privacy Policy Page Styles ======================================= */

/* Privacy Policy Page Sections */
.privacy-text-section,
.data-collection-section,
.use-of-data-section,
.data-sharing-section,
.cookies-section,
.user-rights-section,
.data-security-section,
.policy-updates-section {
    padding: 40px 20px;
    margin-top: 20px;
}

.privacy-text-section .container,
.data-collection-section .container,
.use-of-data-section .container,
.data-sharing-section .container,
.cookies-section .container,
.user-rights-section .container,
.data-security-section .container,
.policy-updates-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Privacy text section styling */
.privacy-text-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-text-section .card-template:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.privacy-text-section .card-content {
    padding: 40px;
}

.privacy-text-section h2 {
    color: var(--primary);
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
}

.privacy-text-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Data collection section */
.data-collection-section .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--secondary);
}

.data-collection-section .card-header h3 {
    margin: 0;
    font-size: 1.8em;
}

.data-collection-section .card-content {
    padding: 30px;
}

.data-collection-section h4 {
    color: var(--secondary);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.data-collection-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Use of data section */
.use-of-data-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.use-of-data-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.use-of-data-section .card-content {
    padding: 30px;
}

.use-of-data-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.use-of-data-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.use-of-data-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.use-of-data-section .card-footer {
    background-color: var(--background-color);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--secondary);
}

.use-of-data-section .card-footer p {
    margin: 0;
    color: var(--text-color2);
    font-weight: 500;
}

/* Data sharing section */
.data-sharing-section .card-template {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.data-sharing-section .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.data-sharing-section .card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.9), rgba(var(--primary-rgb), 0.7));
    color: var(--white);
    padding: 30px;
}

.data-sharing-section h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.data-sharing-section h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.data-sharing-section p {
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Cookies section */
.cookies-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.cookies-section .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cookies-section .card-content {
    padding: 30px;
}

.cookies-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.cookies-section h4 {
    color: var(--secondary);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cookies-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

/* User rights section */
.user-rights-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.user-rights-section .card-profile-image {
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    overflow: hidden;
}

.user-rights-section .card-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-rights-section .card-content {
    padding: 0 30px 30px;
}

.user-rights-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.user-rights-section .card-subtitle {
    color: var(--secondary);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.user-rights-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.user-rights-section ul {
    text-align: left;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.user-rights-section li {
    margin-bottom: 8px;
}

/* Data security section */
.data-security-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.data-security-section .card-image-container {
    position: relative;
}

.data-security-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.data-security-section .card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.data-security-section .card-content {
    padding: 30px;
}

.data-security-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.data-security-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.data-security-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Policy updates section */
.policy-updates-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
}

.policy-updates-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.policy-updates-section .card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 50%;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: var(--shadow-hover);
}

.policy-updates-section .card-content {
    padding: 30px;
}

.policy-updates-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.policy-updates-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.policy-updates-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Responsive design for privacy sections */
@media (max-width: 768px) {
    .privacy-text-section h2 {
        font-size: 2.2em;
    }
    
    .data-sharing-section .card-content-overlay {
        padding: 20px;
    }
    
    .user-rights-section .card-profile-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .privacy-text-section .card-content,
    .data-collection-section .card-content,
    .use-of-data-section .card-content,
    .user-rights-section .card-content,
    .data-security-section .card-content,
    .policy-updates-section .card-content {
        padding: 20px;
    }
    
    .privacy-text-section h2 {
        font-size: 1.8em;
    }
    
    .data-sharing-section .card-content-overlay {
        padding: 15px;
    }
    
    .data-sharing-section h3 {
        font-size: 1.5em;
    }
}

/* ------------------------------- end of privacy sections --------------------------- */
