/* ===================================================================
   File: refund-policy.css
   Description: Page-specific styles for the Refund Policy page.
   This file follows the hybrid CSS approach.
   =================================================================== */

/* --- Page Header Banner --- */
.page-header {
    background: var(--card-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-text);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb span {
    color: var(--accent-cyan);
    margin: 0 10px;
}

/* --- Main Content Section --- */
#policy-details {
    padding: 80px 0;
}

/* NEW: Quick Navigation Menu */
.quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.quick-nav a {
    text-decoration: none;
    color: var(--secondary-text);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-nav a:hover, .quick-nav a.active {
    background-color: var(--accent-cyan);
    color: var(--dark-blue);
}

/* NEW: Interactive Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    width: 0; /* JS will update this */
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.5s ease-in-out;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.timeline-step {
    text-align: center;
    width: 25%;
    position: relative;
}

.timeline-step .step-dot {
    width: 20px;
    height: 20px;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
}

.timeline-step.active .step-dot {
    border-color: var(--accent-cyan);
    transform: scale(1.2);
}

.timeline-step .step-title {
    font-weight: 600;
    color: var(--primary-text);
}

.timeline-step .step-status {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
}
.step-status.non-refundable { background-color: rgba(232, 73, 232, 0.2); color: var(--accent-pink); }
.step-status.partial-refundable { background-color: rgba(243, 156, 18, 0.2); color: #f39c12; }
.step-status.not-applicable { background-color: rgba(149, 165, 166, 0.2); color: #95a5a6; }


/* --- Main Policy Text Wrapper --- */
.policy-content-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.policy-section {
    margin-bottom: 40px;
    padding-top: 20px; /* For scroll-spy offset */
    margin-top: -20px; /* For scroll-spy offset */
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h3 {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.policy-section p, .policy-section ul li {
    line-height: 1.8;
    color: var(--secondary-text);
}

.policy-section ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.policy-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.policy-section ul li::before {
    content: '\f105'; /* Font Awesome chevron-right icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-pink);
}

.policy-section strong {
    color: var(--primary-text);
    font-weight: 600;
}

/* NEW: Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--dark-blue);
    color: var(--accent-cyan);
    font-weight: 600;
}

.comparison-table td .fa-check-circle { color: #2ecc71; }
.comparison-table td .fa-times-circle { color: #e74c3c; }

.policy-meta {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--secondary-text);
}

.download-policy {
    text-align: center;
    margin: 40px 0 0;
}

/* Policy-Specific FAQ Section */
#policy-faq .section-title { margin-bottom: 40px; }
#policy-faq .faq-accordion { max-width: 100%; }

/* Contact CTA Section */
.policy-contact-cta {
    text-align: center;
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-top: 60px;
}
.policy-contact-cta h2 { font-size: 2rem; margin-bottom: 15px; }
.policy-contact-cta p { max-width: 600px; margin: 0 auto 30px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2.2rem; }
    .policy-content-wrapper { padding: 25px; }
    .timeline-step .step-title { font-size: 0.9rem; }
    .timeline-step .step-status { font-size: 0.75rem; }
}

@media (max-width: 576px) {
    .policy-content-wrapper { padding: 20px; }
    .policy-section h3 { font-size: 1.3rem; }
    .timeline-container { display: none; } /* Hide complex timeline on very small screens */
}

/* --- Styles for Product Policy Section --- */
.product-policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.policy-point {
    background-color: var(--dark-blue);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.policy-point h4 {
    color: var(--primary-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-point h4 i {
    color: var(--accent-pink);
}