/* Policy Pages Styling */

/* Base Styles */
.policy-page {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.policy-hero {
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    color: white;
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    opacity: 0.4;
}

.policy-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.policy-hero p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 300;
    position: relative;
}

/* Content Styling */
.policy-content {
    padding: 60px 0;
}

.policy-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 3rem;
    margin-top: -50px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Section Styling */
.policy-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.policy-section:nth-child(1) { animation-delay: 0.2s; }
.policy-section:nth-child(2) { animation-delay: 0.4s; }
.policy-section:nth-child(3) { animation-delay: 0.6s; }
.policy-section:nth-child(4) { animation-delay: 0.8s; }
.policy-section:nth-child(5) { animation-delay: 1.0s; }

.section-title {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #6e45e2, #88d3ce);
    transition: width 0.3s ease;
}

.policy-section:hover .section-title::after {
    width: 100px;
}

/* List Styling */
.policy-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.policy-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-list li::before {
    content: '•';
    color: #6e45e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-list ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.policy-list ol li {
    margin-bottom: 0.75rem;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-list li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
}

.contact-list i {
    color: #6e45e2;
    margin-right: 0.75rem;
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* Refund Timeline */
.refund-timeline {
    background: #f8f9fa;
    border-left: 4px solid #6e45e2;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}

.refund-timeline h4 {
    margin-top: 0;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Update Notice */
.policy-update {
    background: #f8f9fa;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    font-style: italic;
    border-radius: 0 5px 5px 0;
}

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

.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .policy-card {
        padding: 2rem;
        margin-top: -30px;
    }
    
    .policy-hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .policy-hero {
        padding: 80px 0 50px;
    }
    
    .policy-hero h1 {
        font-size: 2.2rem;
    }
    
    .policy-hero p.lead {
        font-size: 1.1rem;
    }
    
    .policy-card {
        padding: 1.5rem;
        margin-top: -20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .policy-content {
        padding: 40px 0;
    }
}

/* Print Styles */
@media print {
    .policy-page {
        background: white;
    }
    
    .policy-card {
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }
    
    .policy-hero {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .policy-hero h1 {
        font-size: 2rem;
    }
    
    .policy-section {
        page-break-inside: avoid;
    }
    
    .no-print {
        display: none !important;
    }
}
