/* Policies Page Styles - Shared styles for all policy pages */

.policies-main {
    background-color: #F8F4E3;
    min-height: 100vh;
}

/* Policy Hero Section */
.policy-hero {
    background: linear-gradient(135deg, #F8F4E3 0%, #EBC42A 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
}

.policy-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.policy-hero-content p {
    font-size: 1.1rem;
    color: #1C1C1C;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Policy Content Section */
.policy-content {
    padding: 4rem 0;
    background-color: #F8F4E3;
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.1);
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #EBC42A;
}

.policy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-section ul,
.policy-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.policy-section li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.policy-section strong {
    color: #1C1C1C;
    font-weight: 600;
}

.policy-section a {
    color: #EBC42A;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: #1C1C1C;
}

.policy-meta {
    background-color: #F8F4E3;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #EBC42A;
}

.policy-meta p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.policy-meta strong {
    color: #1C1C1C;
}

.policy-highlight {
    background-color: #FFF9E6;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #EBC42A;
    margin: 1.5rem 0;
}

.policy-highlight p {
    margin-bottom: 0;
    color: #1C1C1C;
    font-weight: 500;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: #FFFFFF;
}

.policy-table th,
.policy-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #E0E0E0;
}

.policy-table th {
    background-color: #EBC42A;
    color: #1C1C1C;
    font-weight: 600;
}

.policy-table tr:nth-child(even) {
    background-color: #F8F4E3;
}

/* Print Styles */
@media print {
    .policy-wrapper {
        box-shadow: none;
        padding: 2rem;
    }
    
    .policy-hero {
        background: white !important;
        color: black !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-hero-content h1 {
        font-size: 2rem;
    }
    
    .policy-hero-content p {
        font-size: 1rem;
    }
    
    .policy-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-section h4 {
        font-size: 1.1rem;
    }
    
    .policy-table {
        font-size: 0.9rem;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .policy-hero {
        padding: 3rem 0;
    }
    
    .policy-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .policy-content {
        padding: 2rem 0;
    }
    
    .policy-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
    }
    
    .policy-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

