/* ===================================================
   All Services Page — irfollower template  v8.3
   =================================================== */

/* ── Bootstrap CSS variable fallbacks (irfollower bundle may not define them) ── */
:root {
    --bs-body-bg:        #fff;
    --bs-body-color:     #212529;
    --bs-border-color:   #dee2e6;
    --bs-secondary-bg:   #f8f9fb;
    --bs-secondary-color:#6c757d;
    --bs-primary:        #2563eb;
    --bs-primary-rgb:    37,99,235;
}

/* ── Hero ── */
.asvc-hero {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 30%, #2563eb 60%, #1d4ed8 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.asvc-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(96,165,250,.25) 0%, transparent 70%);
    top: -200px; left: -100px;
    pointer-events: none;
}
.asvc-hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.2) 0%, transparent 70%);
    bottom: -200px; right: -100px;
    pointer-events: none;
}
.asvc-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.asvc-hero-shape { position: absolute; pointer-events: none; z-index: 0; }
.asvc-hero-shape-1 {
    width: 200px; height: 200px;
    border: 2px solid rgba(255,255,255,.06);
    border-radius: 50%;
    top: 10%; left: 5%;
    animation: asvc-rotate 20s linear infinite;
}
.asvc-hero-shape-2 {
    width: 120px; height: 120px;
    border: 2px solid rgba(255,255,255,.04);
    border-radius: 30px;
    bottom: 15%; right: 8%;
    animation: asvc-rotate 15s linear infinite reverse;
}
.asvc-hero-shape-3 {
    width: 80px; height: 80px;
    background: rgba(96,165,250,.08);
    border-radius: 20px;
    top: 25%; right: 12%;
    animation: asvc-float 6s ease-in-out infinite;
}
.asvc-hero-shape-4 {
    width: 50px; height: 50px;
    background: rgba(59,130,246,.1);
    border-radius: 50%;
    bottom: 30%; left: 15%;
    animation: asvc-float 8s ease-in-out infinite reverse;
}
@keyframes asvc-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes asvc-float {
    0%,100% { transform: translateY(0) rotate(20deg); }
    50%     { transform: translateY(-22px) rotate(25deg); }
}
.asvc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: #bfdbfe;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    animation: fadeInDown .6s ease;
}
.asvc-hero-badge .badge-dot {
    width: 8px; height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52,211,153,.6);
    animation: asvc-pulse 2s infinite;
}
@keyframes asvc-pulse {
    0%,100% { opacity:1; box-shadow: 0 0 8px rgba(52,211,153,.6); }
    50%     { opacity:.7; box-shadow: 0 0 16px rgba(52,211,153,.8); }
}
.asvc-hero-title {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
    animation: fadeInUp .6s ease;
    position: relative; z-index: 1;
}
.asvc-hero-title span { color: #bfdbfe; }
.asvc-hero-subtitle {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 32px;
    animation: fadeInUp .8s ease;
    position: relative; z-index: 1;
}
.asvc-hero-stats {
    display: inline-flex;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
    animation: fadeInUp 1s ease;
    position: relative; z-index: 1;
}
.asvc-hero-stat { text-align: center; padding: 16px 32px; position: relative; }
.asvc-hero-stat + .asvc-hero-stat::before {
    content: '';
    position: absolute; right: 0; top: 20%;
    height: 60%; width: 1px;
    background: rgba(255,255,255,.12);
}
.asvc-hero-stat-num  { display: block; font-size: 1.5rem; font-weight: 900; color: #fff; }
.asvc-hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ── Platform Tabs ── */
.asvc-platform-wrap {
    background: var(--bs-secondary-bg);
    border-radius: 14px;
    padding: 16px;
}
/* CSS Grid layout — 3 → 4 → 6 columns, overrides Bootstrap flexbox row */
.asvc-platform-wrap .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 !important;
}
.asvc-platform-wrap .row > div {
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
@media (min-width: 576px) {
    .asvc-platform-wrap .row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
    .asvc-platform-wrap .row { grid-template-columns: repeat(8, 1fr); }
}
.asvc-platform-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 6px;
    border-radius: 12px;
    border: 1.5px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    font-size: .8rem;
    font-weight: 500;
    color: var(--bs-body-color);
    cursor: pointer;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    width: 100%;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.asvc-platform-tab i,
.asvc-platform-tab svg,
.asvc-platform-tab iconify-icon {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: var(--tab-color, var(--bs-body-color));
    transition: color .2s ease, transform .2s ease;
    flex-shrink: 0;
}
.asvc-platform-tab:hover {
    transform: translateY(-2px);
    border-color: var(--tab-color, var(--bs-primary));
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    color: var(--bs-body-color);
    text-decoration: none;
}
.asvc-platform-tab:hover i,
.asvc-platform-tab:hover svg,
.asvc-platform-tab:hover iconify-icon { transform: scale(1.1); }
.asvc-platform-tab.active {
    background: var(--tab-color, var(--bs-primary));
    border-color: var(--tab-color, var(--bs-primary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(var(--tab-rgb, 59,130,246), .35);
    text-decoration: none;
}
.asvc-platform-tab.active i,
.asvc-platform-tab.active svg,
.asvc-platform-tab.active iconify-icon { color: #fff; }
[data-bs-theme="dark"] .asvc-platform-tab {
    background: #363e4a;
    border-color: #474e59;
}
[data-bs-theme="dark"] .asvc-platform-tab:hover {
    background: #3e4754;
    border-color: var(--tab-color, var(--bs-primary));
}
[data-bs-theme="dark"] .asvc-platform-tab.active {
    background: var(--tab-color, var(--bs-primary));
    border-color: var(--tab-color, var(--bs-primary));
    color: #fff;
}

/* ── Filter Bar ── */
.asvc-filter-bar {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}
.asvc-cat-scroll {
    flex: 1;
    min-width: 0;
}
.asvc-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 2px 0;
    margin: 0;
}
.asvc-cat-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--bs-border-color);
    background: transparent;
    white-space: nowrap;
    transition: all .18s ease;
    color: var(--bs-body-color);
    user-select: none;
}
.asvc-cat-list li i { font-size: 11px; opacity: .65; flex-shrink: 0; }
.asvc-cat-list li:hover {
    border-color: #3b82f6;
    color: #2563eb;
    background: rgba(59,130,246,.06);
}
.asvc-cat-list li:hover i { opacity: 1; }
.asvc-cat-list li.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.asvc-cat-list li.active i { opacity: 1; color: #fff; }
[data-bs-theme="dark"] .asvc-cat-list li.active {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59,130,246,.3);
}
[data-bs-theme="dark"] .asvc-cat-list li:hover {
    background: rgba(96,165,250,.08);
    border-color: #60a5fa;
    color: #60a5fa;
}
@media (max-width: 575.98px) {
    .asvc-filter-bar { flex-direction: column; align-items: stretch; }
    .asvc-filter-bar .asvc-search { width: 100% !important; }
}

/* ── Search bar ── */
.asvc-search { position: relative; }
.asvc-search .input-group {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--bs-border-color, #e2e8f0);
    background: var(--bs-body-bg, #fff);
    transition: border-color .2s, box-shadow .2s;
}
.asvc-search .input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.asvc-search .input-group-text {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 0 12px;
    font-size: 15px;
    transition: color .2s;
}
.asvc-search .input-group:focus-within .input-group-text { color: #3b82f6; }
.asvc-search .form-control {
    border: none !important;
    padding: 11px 10px;
    font-size: .88rem;
    background: transparent !important;
    height: auto;
    box-shadow: none !important;
    color: var(--bs-body-color, #212529);
}
.asvc-search .form-control:focus { box-shadow: none !important; outline: none; }

/* ── Table wrapper ── */
.asvc-table-wrap {
    background: var(--bs-body-bg);
    border-radius: 16px;
    border: 1px solid var(--bs-border-color);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

/* DataTables chrome */
#publicServicesTable_wrapper .dataTables_length select {
    border-radius: 8px;
    padding: 4px 28px 4px 10px;
    font-size: .82rem;
    border-color: var(--bs-border-color);
    background: var(--bs-body-bg);
}
#publicServicesTable_wrapper .dataTables_length,
#publicServicesTable_wrapper .dataTables_info {
    padding: 14px 18px;
    font-size: .82rem;
    color: var(--bs-secondary-color);
}
#publicServicesTable_wrapper .dataTables_paginate { padding: 12px 18px; }
#publicServicesTable_wrapper .dataTables_processing {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    font-size: .85rem;
    padding: 12px 24px;
}

/* Table core */
#publicServicesTable {
    border-collapse: collapse !important;
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
}

/* Header */
#publicServicesTable thead th {
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 700;
    font-size: .8rem;
    text-align: right !important;
    padding: 14px 18px;
    border: none !important;
    border-left: 1px solid rgba(255,255,255,.12) !important;
    white-space: nowrap;
}
#publicServicesTable thead th:last-child  { border-left: none !important; }
[data-bs-theme="dark"] #publicServicesTable thead th {
    background: #1d4ed8 !important;
    border-left-color: rgba(255,255,255,.1) !important;
}

/* Rows */
#publicServicesTable tbody tr {
    transition: background .15s, box-shadow .15s;
    border-bottom: 1px solid var(--bs-border-color) !important;
}
#publicServicesTable tbody tr:last-child { border-bottom: none !important; }
#publicServicesTable tbody tr:hover {
    background: rgba(59,130,246,.04) !important;
}
[data-bs-theme="dark"] #publicServicesTable tbody tr:hover {
    background: rgba(96,165,250,.06) !important;
}
#publicServicesTable tbody tr:nth-child(even) {
    background: rgba(0,0,0,.018);
}
[data-bs-theme="dark"] #publicServicesTable tbody tr:nth-child(even) {
    background: rgba(255,255,255,.025);
}
#publicServicesTable tbody td {
    padding: 13px 16px;
    vertical-align: middle;
    border: none !important;
    font-size: .875rem;
}

/* ── Cell components ── */
.asvc-id-badge {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    background: rgba(37,99,235,.08);
    color: #2563eb;
    border-radius: 8px;
    padding: 4px 8px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .02em;
    border: 1px solid rgba(37,99,235,.15);
}
[data-bs-theme="dark"] .asvc-id-badge {
    background: rgba(96,165,250,.1);
    color: #60a5fa;
    border-color: rgba(96,165,250,.2);
}

.asvc-svc-name {
    font-weight: 600;
    font-size: .875rem;
    min-width: 160px;
    line-height: 1.4;
}

.asvc-cat-pill {
    display: inline-block;
    background: rgba(99,102,241,.08);
    border: 1px solid rgba(99,102,241,.18);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: .77rem;
    font-weight: 500;
    color: #4f46e5;
    white-space: nowrap;
}
[data-bs-theme="dark"] .asvc-cat-pill {
    background: rgba(129,140,248,.1);
    border-color: rgba(129,140,248,.2);
    color: #818cf8;
}

.asvc-qty {
    font-size: .82rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.asvc-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(22,163,74,.12), rgba(34,197,94,.08));
    color: #15803d;
    border: 1px solid rgba(22,163,74,.2);
    border-radius: 10px;
    padding: 5px 12px;
    font-weight: 800;
    font-size: .85rem;
    white-space: nowrap;
    line-height: 1;
}
[data-bs-theme="dark"] .asvc-price-badge {
    color: #4ade80;
    background: linear-gradient(135deg, rgba(74,222,128,.1), rgba(34,197,94,.07));
    border-color: rgba(74,222,128,.2);
}

/* Mobile meta row: category shown below service name on small screens */
.asvc-row-meta {
    display: none;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.asvc-actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; }

.asvc-btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.asvc-btn-buy:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    color: #fff !important;
}

.asvc-btn-desc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: var(--bs-secondary-color) !important;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: .82rem;
    text-decoration: none !important;
    transition: all .2s;
    cursor: pointer;
}
.asvc-btn-desc:hover {
    border-color: #3b82f6;
    color: #2563eb !important;
    background: rgba(59,130,246,.06);
}

/* ── Mobile actions inside Name column ── */
.asvc-mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
@media (min-width: 768px) {
    .asvc-mobile-actions { display: none; }
}

/* ── Mobile table overrides (must be after base rules) ── */
@media (max-width: 767px) {
    .asvc-row-meta { display: flex; }
    .asvc-row-meta .asvc-cat-pill { font-size: .72rem; padding: 2px 9px; }
    .asvc-actions { flex-direction: column; align-items: stretch; white-space: normal; gap: 5px; }
    .asvc-btn-buy  { display: flex; justify-content: center; width: 100%; }
    .asvc-btn-desc { display: flex; justify-content: center; width: 100%; }
    .asvc-mobile-actions .asvc-btn-buy,
    .asvc-mobile-actions .asvc-btn-desc { width: auto; }
}

/* Pagination */
#publicServicesTable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    font-size: .82rem !important;
    padding: 5px 12px !important;
    margin: 0 2px !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
    transition: all .2s !important;
}
#publicServicesTable_wrapper .paginate_button.current,
#publicServicesTable_wrapper .paginate_button.current:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    border-color: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(37,99,235,.3) !important;
}
#publicServicesTable_wrapper .paginate_button:not(.current):hover {
    background: rgba(59,130,246,.08) !important;
    border-color: #3b82f6 !important;
    color: #2563eb !important;
}

/* ── Trust section ── */
.asvc-trust { padding: 30px 0; }
.asvc-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: 16px;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    height: 100%;
    transition: all .25s cubic-bezier(.4,0,.2,1);
}
.asvc-trust-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 32px rgba(59,130,246,.12);
    transform: translateY(-3px);
}
.asvc-trust-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(59,130,246,.08));
    display: flex; align-items: center; justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
    border: 1px solid rgba(37,99,235,.15);
}
[data-bs-theme="dark"] .asvc-trust-icon {
    background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(96,165,250,.06));
    color: #60a5fa;
    border-color: rgba(96,165,250,.2);
}
.asvc-trust-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.asvc-trust-item p  { font-size: .82rem; color: var(--bs-secondary-color); margin: 0; line-height: 1.6; }

/* ── CTA ── */
.asvc-cta {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    border-radius: 24px;
    padding: 56px 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(37,99,235,.35);
}
.asvc-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.asvc-cta::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    top: -100px; left: -80px;
    pointer-events: none;
}
.asvc-cta h3 { font-weight: 900; font-size: 1.6rem; margin-bottom: 12px; position: relative; color: #fff !important; }
.asvc-cta p  { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1rem; position: relative; }
.asvc-cta .btn-light {
    color: #2563eb;
    font-weight: 700;
    position: relative;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: .95rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: all .2s;
}
.asvc-cta .btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── Section titles ── */
.asvc-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}
.asvc-section-subtitle { color: var(--bs-secondary-color); margin-bottom: 0; }

/* ── FAQ ── */
.asvc-faq { padding: 64px 0; }
.asvc-faq-list { display: flex; flex-direction: column; gap: 10px; }
.asvc-faq-item {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.asvc-faq-item:hover { border-color: rgba(37,99,235,.25); box-shadow: 0 4px 16px rgba(37,99,235,.07); }
.asvc-faq-item.open  { border-color: rgba(37,99,235,.4);  box-shadow: 0 4px 20px rgba(37,99,235,.12); }
.asvc-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: transparent;
    border: none;
    text-align: right;
    font-size: .95rem;
    font-weight: 600;
    color: var(--bs-body-color);
    cursor: pointer;
    gap: 12px;
    transition: color .2s;
}
.asvc-faq-q:hover { color: #2563eb; }
.asvc-faq-item.open .asvc-faq-q { color: #2563eb; }
.asvc-faq-icon {
    font-size: 13px;
    flex-shrink: 0;
    color: var(--bs-secondary-color);
    transition: transform .3s ease, color .2s;
}
.asvc-faq-item.open .asvc-faq-icon { transform: rotate(180deg); color: #2563eb; }
.asvc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.asvc-faq-item.open .asvc-faq-a { max-height: 400px; }
.asvc-faq-body {
    padding: 14px 20px 18px;
    font-size: .9rem;
    line-height: 2;
    color: var(--bs-secondary-color);
    border-top: 1px solid var(--bs-border-color);
}
[data-bs-theme="dark"] .asvc-faq-item { background: #2a3142; border-color: #3d4657; }
[data-bs-theme="dark"] .asvc-faq-item.open { border-color: rgba(96,165,250,.3); }
[data-bs-theme="dark"] .asvc-faq-q { color: #e2e8f0; }
[data-bs-theme="dark"] .asvc-faq-body { border-top-color: #3d4657; }

/* ── Description Modal ── */
/* Exclude <i> and <svg> so Themify icon fonts are not overridden */
#svcDescModal,
#svcDescModal *:not(i):not(svg):not(path) {
    font-family: IRANSansX, IRANSans, Tahoma, sans-serif !important;
}
#svcDescModal .modal-body {
    max-height: 75vh;
}
#svcDescModal .svc-detail-hero {
    flex-shrink: 0;
    text-align: center;
    padding: 28px 16px 20px;
    background: linear-gradient(150deg, rgba(var(--svc-rgb),.1), rgba(var(--svc-rgb),.03));
    border-bottom: 1px solid rgba(var(--svc-rgb),.1);
    position: relative;
    overflow: hidden;
}
#svcDescModal .svc-detail-hero::before {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(var(--svc-rgb),.06);
    top: -40px; left: -20px;
}
#svcDescModal .svc-detail-hero::after {
    content: '';
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(var(--svc-rgb),.05);
    bottom: -30px; right: -10px;
}
.svc-detail-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 4px 18px rgba(var(--svc-rgb),.2);
    margin-bottom: 10px;
    position: relative; z-index: 1;
}
.svc-detail-icon i,
.svc-detail-icon svg { font-size: 28px; color: var(--svc-hex); width: 28px; height: 28px; }
.svc-detail-platform {
    font-size: 13px; font-weight: 700;
    color: var(--svc-hex);
    margin-bottom: 4px;
    position: relative; z-index: 1;
}
.svc-detail-name {
    font-size: 14px; font-weight: 600;
    color: var(--bs-body-color, #212529);
    line-height: 1.6;
    position: relative; z-index: 1;
}
#svcDescModal .svc-detail-desc {
    padding: 12px 16px 16px;
    position: relative;
}
.svc-detail-desc-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 8px;
}
.svc-detail-desc-label i { font-size: 15px; }
.svc-detail-desc-body {
    height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-secondary-bg, #f8f9fb);
    font-size: 13px; line-height: 2;
    color: var(--bs-body-color, #212529);
}
/* Close button in hero */
.svc-hero-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(var(--svc-rgb),.15);
    background: rgba(var(--svc-rgb),.08);
    color: var(--svc-hex);
    font-size: 20px;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .2s, border-color .2s;
    padding: 0;
}
.svc-hero-close:hover {
    background: rgba(var(--svc-rgb),.16);
    border-color: rgba(var(--svc-rgb),.3);
}

.svc-modal-footer {
    padding: 12px 16px 20px;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.svc-modal-footer .btn { gap: 8px !important; font-size: 14px !important; font-weight: normal !important; }
.svc-modal-footer .btn i { margin-left: 6px; }
/* Scroll hint */
#svcDescModal .svc-scroll-hint {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex; justify-content: center; align-items: flex-end;
    padding-bottom: 6px; height: 48px;
    background: linear-gradient(to bottom, transparent, var(--bs-body-bg,#fff) 85%);
    pointer-events: none;
    transition: opacity .4s ease;
}
#svcDescModal .svc-scroll-hint.is-hidden { opacity: 0; }
.svc-scroll-arrow {
    font-size: 20px;
    color: var(--bs-primary, #2563eb);
    opacity: .35;
    animation: svcArrowBounce 1.5s infinite;
}
@keyframes svcArrowBounce {
    0%,100% { transform: translateY(0); opacity: .35; }
    50%      { transform: translateY(4px); opacity: .8; }
}
/* Dark mode */
[data-bs-theme="dark"] #svcDescModal .svc-detail-hero {
    background: linear-gradient(150deg, rgba(var(--svc-rgb),.15), rgba(var(--svc-rgb),.05));
    border-bottom-color: rgba(var(--svc-rgb),.15);
}
[data-bs-theme="dark"] .svc-detail-icon {
    background: #363e4a;
    box-shadow: 0 4px 18px rgba(var(--svc-rgb),.25);
}
/* Mobile bottom-sheet */
@media (max-width: 575.98px) {
    #svcDescModal .modal-dialog {
        margin: 0 !important;
        max-width: 100% !important;
        min-height: 100% !important;
        align-items: flex-end !important;
    }
    #svcDescModal .modal-content {
        border-radius: 16px 16px 0 0 !important;
        max-height: 85vh;
        transform: translateY(100%);
        transition: transform .3s ease-out;
    }
    #svcDescModal.show .modal-content { transform: translateY(0); }
    #svcDescModal .modal-body { max-height: calc(85vh - 60px); }
    /* Push order button above floating support button */
    #svcDescModal .svc-modal-footer {
        padding-bottom: 80px;
    }
}
