/*
 * ============================================================
 * Ahmadiyad - Luxury Policy & Static Pages Stylesheet
 * Developed by: Etarnity Global Innovation
 * Website: https://etarnity.com
 * ============================================================
 */

.policy-page-wrapper {
    background: #FAF7F8;
    min-height: 85vh;
    padding: 0 0 70px;
    font-family: var(--font, 'Poppins', sans-serif);
    color: #2D131A;
    overflow-x: hidden;
}

/* --- Hero Banner --- */
.policy-hero {
    background: linear-gradient(135deg, #290E18 0%, #17060E 100%);
    color: #FFFFFF;
    padding: 50px 20px 45px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid rgba(213, 0, 109, 0.3);
    margin-bottom: 36px;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 120px;
    background: radial-gradient(circle, rgba(213, 0, 109, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.policy-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(213, 0, 109, 0.2);
    border: 1px solid rgba(255, 64, 129, 0.4);
    color: #FF80AB;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.policy-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.policy-hero-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 auto 16px;
    max-width: 600px;
}

/* Breadcrumb in Hero */
.policy-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.policy-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-breadcrumb a:hover {
    color: #FF80AB;
}

.policy-breadcrumb span.current {
    color: #FF4081;
    font-weight: 600;
}

/* --- Container & Layout --- */
.policy-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.policy-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(213, 0, 109, 0.08);
    box-shadow: 0 4px 20px rgba(74, 31, 39, 0.04);
    padding: 36px 40px;
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 14px;
}

.policy-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #F0E6E9;
    font-size: 12.5px;
    color: #8C767D;
}

.policy-meta-bar strong {
    color: #2D131A;
}

/* --- Section Headings --- */
.policy-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2D131A;
    margin: 28px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section-title:first-of-type {
    margin-top: 0;
}

.policy-section-title i {
    color: #D5006D;
    font-size: 19px;
}

.policy-card p {
    margin-bottom: 16px;
    color: #4A3037;
}

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

.policy-card ul, .policy-card ol {
    margin: 0 0 18px 20px;
    color: #4A3037;
}

.policy-card li {
    margin-bottom: 8px;
}

/* --- Callout Guarantee Boxes --- */
.policy-callout {
    background: linear-gradient(135deg, #FFF5F8 0%, #FFF0F4 100%);
    border: 1px solid rgba(213, 0, 109, 0.2);
    border-left: 4px solid #D5006D;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 22px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.policy-callout-icon {
    font-size: 22px;
    color: #D5006D;
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-callout-content h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #2D131A;
    margin: 0 0 4px;
}

.policy-callout-content p {
    font-size: 13px;
    color: #5C3D45;
    margin: 0;
    line-height: 1.6;
}

/* --- Responsive 2-Column Grid --- */
.policy-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.policy-grid-item {
    background: #FFF9FB;
    border: 1px solid rgba(213, 0, 109, 0.12);
    border-radius: 12px;
    padding: 20px;
}

.policy-grid-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.policy-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D5006D;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.policy-grid-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #2D131A;
    margin: 0;
}

.policy-grid-item p {
    font-size: 13px;
    color: #5C3D45;
    margin: 0;
    line-height: 1.55;
}

/* --- Size Table Styling --- */
.policy-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #EFE4E7;
    margin: 20px 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 500px;
}

.policy-table th {
    background: #F8EDF1;
    color: #2D131A;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #E5D5DA;
    white-space: nowrap;
}

.policy-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F4EBEE;
    color: #4A3037;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-table tr:hover td {
    background: #FFF9FB;
}

/* --- FAQ Accordion --- */
.policy-faq-item {
    border: 1px solid #EFE4E7;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.policy-faq-item.active {
    border-color: rgba(213, 0, 109, 0.3);
    box-shadow: 0 4px 12px rgba(213, 0, 109, 0.05);
}

.policy-faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 14.5px;
    color: #2D131A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #FFFFFF;
    user-select: none;
    transition: background 0.2s ease;
}

.policy-faq-question:hover {
    background: #FFF9FB;
}

.policy-faq-question i {
    font-size: 14px;
    color: #D5006D;
    transition: transform 0.3s ease;
}

.policy-faq-item.active .policy-faq-question i {
    transform: rotate(180deg);
}

.policy-faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 13.5px;
    color: #5C3D45;
    line-height: 1.65;
    border-top: 1px solid #FAF0F3;
    background: #FFFDFE;
}

.policy-faq-item.active .policy-faq-answer {
    display: block;
}

/* --- Quick Help Footer Box --- */
.policy-help-box {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFEBF2 100%);
    border: 1.5px dashed #FFB3D1;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 30px;
}

.policy-help-box h3 {
    font-size: 17px;
    font-weight: 800;
    color: #2D131A;
    margin: 0 0 6px;
}

.policy-help-box p {
    font-size: 13px;
    color: #6B4E56;
    margin: 0 0 16px;
}

.policy-help-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.policy-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #D5006D;
    color: #FFFFFF !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(213, 0, 109, 0.25);
    transition: all 0.2s ease;
}

.policy-btn-primary:hover {
    background: #FF4081;
    transform: translateY(-2px);
}

.policy-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #FFFFFF !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
}

.policy-btn-wa:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 768px) {
    .policy-hero {
        padding: 34px 16px 28px;
        margin-bottom: 20px;
    }
    .policy-hero-title {
        font-size: 24px;
    }
    .policy-hero-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .policy-container {
        padding: 0 14px;
    }
    .policy-card {
        padding: 22px 18px;
        border-radius: 12px;
    }
    .policy-section-title {
        font-size: 16px;
        margin: 20px 0 10px;
    }
    .policy-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .policy-callout {
        padding: 14px 16px;
        gap: 10px;
    }
    .policy-help-actions {
        flex-direction: column;
    }
    .policy-btn-primary, .policy-btn-wa {
        width: 100%;
        justify-content: center;
    }
}
