/**
 * Wish You India - Policy Pages Styling
 * Styles for Privacy Policy, Terms & Conditions, and Cancellation & Refund Policy
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

.policy-wrap {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 15px 40px;
    line-height: 1.75;
}

/* Hero Section */
.policy-hero {
    background: linear-gradient(135deg, #d51243 0%, #8e0b2a 100%);
    border-radius: 16px;
    padding: 48px 44px;
    margin-bottom: 36px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(213, 18, 67, 0.2);
}

.policy-hero::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.policy-hero::after {
    content: "";
    position: absolute;
    right: 70px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.policy-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff !important;
    line-height: 1.25;
}

.policy-hero .policy-meta {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin: 0;
}

.policy-hero .policy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Quick Jump / Breadcrumb Bar */
.policy-quick-nav {
    background: #fdf2f4;
    border: 1px solid #f8d7df;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
}

.policy-quick-nav .nav-label {
    font-weight: 600;
    color: #d51243;
}

.policy-quick-nav .nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-quick-nav .nav-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-quick-nav .nav-links a:hover {
    color: #d51243;
    text-decoration: underline;
}

/* Policy Content Body */
.policy-body {
    background: transparent;
}

/* Card Sections */
.policy-section {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.policy-section:hover {
    border-color: #f1b5c4;
    box-shadow: 0 6px 22px rgba(213, 18, 67, 0.08);
}

.policy-section h2 {
    font-size: 19px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #d51243;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section h2 .sec-num {
    background: #d51243;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-section h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: #222222;
    margin: 20px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-section p {
    font-size: 14.5px;
    color: #444444;
    line-height: 1.8;
    margin: 0 0 14px 0;
}

.policy-section ul,
.policy-section ol {
    padding-left: 22px;
    margin: 0 0 16px 0;
}

.policy-section ul li,
.policy-section ol li {
    font-size: 14px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-section ul li::marker {
    color: #d51243;
}

/* Highlight / Notice Box */
.policy-highlight {
    background: #fff5f7;
    border-left: 4px solid #d51243;
    border-radius: 0 10px 10px 0;
    padding: 16px 22px;
    margin: 18px 0;
}

.policy-highlight p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333333 !important;
    line-height: 1.7;
}

/* Informational Callout (Blue/Neutral) */
.policy-info-box {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    border-radius: 0 10px 10px 0;
    padding: 16px 22px;
    margin: 18px 0;
}

.policy-info-box p {
    margin: 0;
    font-size: 14px;
    color: #1a446c !important;
    line-height: 1.7;
}

/* Timeline & Data Tables */
.policy-table-responsive {
    overflow-x: auto;
    margin: 18px 0;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    margin: 0;
}

.policy-table thead tr {
    background: #d51243;
    color: #ffffff;
}

.policy-table thead th {
    padding: 13px 18px;
    font-weight: 600;
    color: #ffffff;
    border: none;
}

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

.policy-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.policy-table tbody tr:hover {
    background: #fff0f3;
}

.policy-table tbody td {
    padding: 12px 18px;
    border-top: 1px solid #eee;
    color: #444444;
}

/* Steps Process Grid */
.policy-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.policy-step-card {
    background: #fdf9fa;
    border: 1px solid #f3d4dc;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    transition: transform 0.2s ease;
}

.policy-step-card:hover {
    transform: translateY(-3px);
}

.policy-step-icon {
    width: 40px;
    height: 40px;
    background: #d51243;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.policy-step-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.policy-step-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Badges */
.policy-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
    letter-spacing: 0.3px;
}

.policy-badge-success {
    background: #e6f9ee;
    color: #0d8a43;
    border: 1px solid #a3e6be;
}

.policy-badge-danger {
    background: #ffebe6;
    color: #cc2200;
    border: 1px solid #ffb3a3;
}

.policy-badge-brand {
    background: #d51243;
    color: #ffffff;
}

/* Contact / Grievance Card */
.policy-contact-box {
    background: linear-gradient(135deg, #fdf9fa 0%, #fff0f3 100%);
    border: 1px solid #f1b5c4;
    border-radius: 14px;
    padding: 32px 36px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.policy-contact-box h2 {
    font-size: 19px;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #d51243;
}

.policy-contact-box p {
    font-size: 14.5px;
    color: #444;
    line-height: 1.8;
    margin: 6px 0;
}

.policy-contact-box a {
    color: #d51243;
    text-decoration: none;
    font-weight: 600;
}

.policy-contact-box a:hover {
    text-decoration: underline;
}

.policy-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.policy-contact-item {
    background: #ffffff;
    border: 1px solid #edd5db;
    border-radius: 10px;
    padding: 16px 20px;
}

.policy-contact-item strong {
    display: block;
    color: #111;
    font-size: 13.5px;
    margin-bottom: 4px;
}

.policy-contact-item span {
    font-size: 14px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-hero {
        padding: 36px 24px;
    }
    .policy-hero h1 {
        font-size: 26px;
    }
    .policy-section {
        padding: 24px 20px;
    }
    .policy-contact-box {
        padding: 24px 20px;
    }
    .policy-steps-grid {
        grid-template-columns: 1fr;
    }
}
