/* Override grid layout from main.css for privacy policy page */
body {
    display: flex !important;
    flex-direction: column;
    grid-template-rows: none !important;
    font-family: 'Montserrat', sans-serif;
}

.privacy-main {
    background: linear-gradient(135deg, rgba(3, 136, 166, 0.05) 0%, rgba(242, 181, 68, 0.05) 100%),
        url('../assets/images/imgs_web/backgrounds/background_home.png') no-repeat center center;
    background-size: cover;
    padding: 4rem 2rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
}

.privacy-container {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-container h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #0388a6;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.last-updated {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(3, 136, 166, 0.2);
}

.privacy-content {
    color: #333;
    line-height: 1.8;
}

.privacy-content .intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(3, 136, 166, 0.05);
    border-left: 4px solid #0388a6;
    border-radius: 8px;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(251, 244, 230, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    background: rgba(251, 244, 230, 0.5);
    transform: translateX(5px);
}

.privacy-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0388a6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section h2::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #f2b544;
    border-radius: 50%;
    display: inline-block;
}

.privacy-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy-section ul li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.privacy-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: #0388a6;
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-section a {
    color: #0388a6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.privacy-section a:hover {
    color: #025a6b;
    border-bottom: 1px solid #0388a6;
}

.privacy-section strong {
    color: #01303a;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-main {
        padding: 2rem 1rem;
    }

    .privacy-container {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .privacy-container h1 {
        font-size: 1.75rem;
    }

    .privacy-section {
        padding: 1rem;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }

    .privacy-content .intro {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 1.5rem 1rem;
    }

    .privacy-container h1 {
        font-size: 1.5rem;
    }

    .privacy-section {
        margin-bottom: 1.5rem;
    }
}

/* Footer override for privacy page */
footer {
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 5vw, 40px) clamp(20px, 5vw, 48px);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10;
    flex-shrink: 0;
}

/* Print styles */
@media print {
    .privacy-main {
        background: white;
    }

    .privacy-container {
        box-shadow: none;
        background: white;
    }

    .privacy-section {
        page-break-inside: avoid;
    }
}