:root {
    --primary: #1a1a1a;
    --secondary: #c8a97e;
    --light: #f8f5f0;
    --dark: #2a2a2a;
    --text: #555555;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    /* color: var(--primary); */
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-hero {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assests/images/policy.avif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 60px;
}

.policy-hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.policy-content {
    background-color: var(--white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.policy-section {
    margin-bottom: 40px;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Animation classes - only apply after page load */
.policy-section.can-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.policy-section.can-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.policy-section h2 {
    font-size: 28px;
    color: var(--secondary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    margin-bottom: 20px;
}

.policy-section h3 {
    font-size: 22px;
    margin-top: 30px;
    color: var(--primary);
}

.policy-section p,
.policy-section ul {
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    list-style: none;
}

.policy-section li:before {
    content: "•";
    color: var(--secondary);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.last-updated {
    text-align: right;
    font-style: italic;
    color: var(--text);
    opacity: 0.8;
    margin-top: 40px;
}

/* Override footer styles for policy pages */
.policy-page .footer-links a {
    background: none;
    padding: 0;
}

.policy-page .footer-links a:hover {
    background: none;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .policy-hero {
        height: 30vh;
        min-height: 250px;
    }

    .policy-hero-content h1 {
        font-size: 32px;
    }

    .policy-content {
        padding: 30px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .policy-hero {
        height: 25vh;
        min-height: 200px;
    }

    .policy-hero-content h1 {
        font-size: 28px;
    }

    .policy-content {
        padding: 20px;
    }
}