/*
 * Trooworths Returns & Replacements Page Styles
 * File: trooworths-returns-replacements.css
 */

/* Hero Section */
.returns-hero 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.returns-hero::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.returns-hero h1 
{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.returns-hero .lead 
{
    opacity: 0.9;
}

/* Returns Section */
.returns-section 
{
    padding: 60px 0;
}

/* Returns Card */
.returns-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.returns-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.returns-heading 
{
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.returns-card p 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.returns-card p:last-child 
{
    margin-bottom: 0;
}

.returns-card a 
{
    color: #0f3460;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.returns-card a:hover 
{
    color: #ffc107;
    text-decoration: underline;
}

.returns-card strong 
{
    color: #1a1a2e;
}

.returns-card ul,
.returns-card ol 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
}

.returns-card li 
{
    margin-bottom: 10px;
}

/* Policy Links Section */
.policy-links-section 
{
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.policy-link-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.policy-link-card:hover 
{
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.policy-link-card .icon-wrapper 
{
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.policy-link-card .icon-wrapper i 
{
    font-size: 1.8rem;
    color: #1a1a2e;
}

.policy-link-card .icon-wrapper.blue-icon 
{
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

.policy-link-card .icon-wrapper.blue-icon i 
{
    color: #ffc107;
}

.policy-link-card h3 
{
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.policy-link-card p 
{
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-policy-link 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-policy-link:hover 
{
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 26, 46, 0.3);
}

.btn-policy-link.btn-warning-style 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    color: #1a1a2e;
}

.btn-policy-link.btn-warning-style:hover 
{
    background: linear-gradient(135deg, #ff9900 0%, #ffc107 100%);
    color: #1a1a2e;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Process Steps Section */
.process-section 
{
    padding: 70px 0;
    background: #ffffff;
}

.process-section-header 
{
    text-align: center;
    margin-bottom: 50px;
}

.process-section-header h2 
{
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.process-section-header p 
{
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Process Step Cards */
.process-step 
{
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step .step-number 
{
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.process-step .step-icon 
{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
}

.process-step .step-icon i 
{
    font-size: 2rem;
    color: #0f3460;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon i 
{
    color: #1a1a2e;
}

.process-step h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.process-step p 
{
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Connector Line */
.process-step::after 
{
    content: '';
    position: absolute;
    top: 50px;
    right: -10%;
    width: 20%;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #e9ecef);
    display: none;
}

@media (min-width: 768px) 
{
    .process-step::after 
    {
        display: block;
    }
    
    .process-step:last-child::after 
    {
        display: none;
    }
}

/* Timeline Section */
.timeline-section 
{
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.timeline-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.timeline-card:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #ffc107;
}

.timeline-card .days 
{
    font-size: 3rem;
    font-weight: 700;
    color: #ffc107;
    line-height: 1;
    margin-bottom: 5px;
}

.timeline-card .days-label 
{
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-card h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.timeline-card p 
{
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Eligibility Badge */
.eligibility-badge 
{
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
}

.eligibility-badge.eligible 
{
    background: #d4edda;
    color: #155724;
}

.eligibility-badge.not-eligible 
{
    background: #f8d7da;
    color: #721c24;
}

.eligibility-badge i 
{
    margin-right: 6px;
}

/* Important Notice Section */
.notice-section 
{
    background: #fff8e1;
    padding: 40px 0;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}

.notice-card 
{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.notice-card .notice-icon 
{
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-card .notice-icon i 
{
    font-size: 1.3rem;
    color: #1a1a2e;
}

.notice-card .notice-content h5 
{
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.notice-card .notice-content p 
{
    color: #555;
    margin-bottom: 0;
    line-height: 1.7;
}

/* CTA Section */
.cta-section 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 
{
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section .lead 
{
    opacity: 0.9;
}

.cta-section .btn-warning 
{
    background-color: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover 
{
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Last Updated Banner */
.bg-light.border-bottom 
{
    background-color: #f8f9fa !important;
}

.bg-light.border-bottom .text-muted 
{
    font-size: 0.95rem;
}

.bg-light.border-bottom i 
{
    color: #ffc107;
}

/* Checklist Styling */
.checklist-item 
{
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.checklist-item:hover 
{
    background: #e9ecef;
}

.checklist-item i 
{
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checklist-item.success i 
{
    color: #28a745;
}

.checklist-item.danger i 
{
    color: #dc3545;
}

.checklist-item.warning i 
{
    color: #ffc107;
}

.checklist-item span 
{
    color: #555;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) 
{
    .returns-hero 
    {
        padding: 80px 0 60px;
    }
    
    .returns-hero h1 
    {
        font-size: 2.5rem;
    }
    
    .returns-section 
    {
        padding: 40px 0;
    }
    
    .returns-card 
    {
        padding: 25px;
    }
    
    .returns-heading 
    {
        font-size: 1.3rem;
    }
    
    .process-section 
    {
        padding: 50px 0;
    }
    
    .process-section-header h2 
    {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) 
{
    .returns-hero 
    {
        padding: 60px 0 40px;
    }
    
    .returns-hero h1 
    {
        font-size: 2rem;
    }
    
    .returns-hero .lead 
    {
        font-size: 1.1rem;
    }
    
    .returns-section 
    {
        padding: 30px 0;
    }
    
    .returns-card 
    {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .returns-heading 
    {
        font-size: 1.2rem;
    }
    
    .returns-card p 
    {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .policy-link-card 
    {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .policy-links-section 
    {
        padding: 40px 0;
    }
    
    .process-section 
    {
        padding: 40px 0;
    }
    
    .process-section-header h2 
    {
        font-size: 1.5rem;
    }
    
    .process-step::after 
    {
        display: none;
    }
    
    .notice-card 
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .timeline-card 
    {
        margin-bottom: 20px;
    }
    
    .cta-section 
    {
        padding: 60px 0;
    }
    
    .cta-section h2 
    {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) 
{
    .returns-hero
    {
        margin-top: 136px;
    }
}

/* Print Styles */
@media print 
{
    .returns-hero 
    {
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .returns-card 
    {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cta-section,
    .policy-links-section 
    {
        display: none;
    }
}

/* Smooth Scroll for Anchor Links */
html 
{
    scroll-behavior: smooth;
}

/* Accessibility Focus States */
.returns-card a:focus 
{
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.btn-policy-link:focus,
.btn-warning:focus 
{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}