/* ????????????????????????????????????????????????????
   services.css  —  Styles for Home/Services page
   PDPortal / PublicDial Services
???????????????????????????????????????????????????? */

/* ?? Urgency bar ?? */
.urgency_bar { background: linear-gradient(90deg,#e65100,#ff6d00); color: #fff; text-align: center; padding: 9px 44px; font-size: 13px; font-weight: 600; position: relative; }
.urgency_bar .ub-dot { display: inline-block; width: 8px; height: 8px; background: #fff; border-radius: 50%; margin-right: 6px; vertical-align: middle; animation: ubPulse 1.3s infinite; }
@keyframes ubPulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.urgency_bar a { color: #fff; font-weight: 800; text-decoration: underline !important; }
.urgency_bar .ub-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }

/* ?? Stats strip ?? */
.svc_stats_strip { background: linear-gradient(90deg,#1a237e,#283593); border-radius: 10px; padding: 22px 30px; display: flex; flex-wrap: wrap; margin: 22px 0 6px; }
.pstat { flex: 1; min-width: 110px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); padding: 4px 14px; }
.pstat:last-child { border-right: none; }
.pstat h3 { font-size: 25px; font-weight: 800; color: #ffb300; margin: 0; }
.pstat p  { font-size: 10px; color: rgba(255,255,255,.72); margin: 3px 0 0; text-transform: uppercase; letter-spacing: .7px; }

/* ?? Trust bar ?? */
.trust_bar { background: #fff; border: 1px solid #e0e3f0; border-radius: 8px; padding: 13px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 12px; margin: 12px 0 4px; }
.trust_item { display: flex; align-items: center; gap: 8px; }
.trust_item i { font-size: 18px; color: #1a237e; }
.trust_item .ti-val { font-size: 14px; font-weight: 800; color: #1a237e; line-height: 1.1; }
.trust_item .ti-lbl { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: .4px; }

/* ?? Scrollspy nav tabs ?? */
.svc_nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 4px; justify-content: center; }
.svc-tab { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #d0d4e8; color: #555; font-size: 11px; font-weight: 700; padding: 7px 14px; border-radius: 30px; text-decoration: none; transition: all .2s; white-space: nowrap; }
.svc-tab i { font-size: 12px; color: #1a237e; }
.svc-tab:hover, .svc-tab.active { background: #1a237e; color: #fff; border-color: #1a237e; }
.svc-tab:hover i, .svc-tab.active i { color: #ffb300; }

/* ?? Section group divider ?? */
.sec_group_lbl { display: flex; align-items: center; gap: 12px; margin: 34px 0 0; font-size: 11px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 2px; }
.sec_group_lbl::before, .sec_group_lbl::after { content: ""; flex: 1; height: 1px; background: #e0e3f0; }

/* ?? Category header ?? */
.svc_cat_header { background: linear-gradient(90deg,#1a237e,#283593); color: #fff; padding: 12px 18px; border-radius: 8px 8px 0 0; font-size: 14px; font-weight: 700; border-left: 5px solid #e65100; margin-top: 24px; display: flex; align-items: center; gap: 10px; }
.svc_cat_header .cat-count { margin-left: auto; background: rgba(255,255,255,.18); font-size: 10px; padding: 2px 10px; border-radius: 20px; }

/* ?? Service cards grid ?? */
.svc_cards_wrap { border: 1px solid #d0d4e8; border-top: none; border-radius: 0 0 10px 10px; padding: 20px; background: #fff; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 6px; }
.svc_card { background: #f8f9fc; border: 1px solid #e0e3f0; border-radius: 10px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; transition: all .22s; position: relative; overflow: hidden; }
.svc_card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg,#1a237e,#e65100); border-radius: 10px 0 0 10px; opacity: 0; transition: opacity .22s; }
.svc_card:hover { background: #fff; box-shadow: 0 6px 24px rgba(26,35,126,.10); transform: translateY(-2px); }
.svc_card:hover::before { opacity: 1; }
.svc_card_icon { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg,#e8eaf6,#c5cae9); display: flex; align-items: center; justify-content: center; transition: background .22s; }
.svc_card_icon i { font-size: 20px; color: #1a237e; }
.svc_card:hover .svc_card_icon { background: linear-gradient(135deg,#1a237e,#283593); }
.svc_card:hover .svc_card_icon i { color: #ffb300; }
.svc_card h5 { font-size: 14px; font-weight: 800; color: #1a237e; margin: 0; font-family: 'Sen', sans-serif; }
.svc_card p  { font-size: 12.5px; color: #666; margin: 0; line-height: 1.6; flex: 1; }

/* ?? Feature tags ?? */
.svc_feat_tags { display: flex; flex-wrap: wrap; gap: 4px; }
.svc_feat_tag { background: #e8eaf6; color: #1a237e; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.svc_feat_tag.orange { background: #fff3e0; color: #e65100; }
.svc_feat_tag.green  { background: #e8f5e9; color: #2e7d32; }

/* ?? Card footer ?? */
.svc_card_footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 10px; border-top: 1px solid #e0e3f0; }
.svc_price_hint { font-size: 11.5px; font-weight: 700; color: #e65100; }
.svc_price_hint span { font-size: 10px; color: #aaa; font-weight: 400; }

/* ?? Quote button ?? */
.svc_quote_btn { display: inline-flex; align-items: center; gap: 5px; background: #1a237e; color: #fff !important; font-size: 10.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; white-space: nowrap; cursor: pointer; border: none; transition: background .2s, transform .15s; }
.svc_quote_btn:hover { background: #e65100; transform: scale(1.05); }

/* ?? Badges ?? */
.svc_badge { display: inline-block; background: #e65100; color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-left: 5px; vertical-align: middle; text-transform: uppercase; }
.svc_badge.blue  { background: #1a237e; }
.svc_badge.green { background: #2e7d32; }

/* ?? Lead strip ?? */
.lead_strip { background: linear-gradient(90deg,#1a237e,#283593 65%,#e65100); border-radius: 10px; padding: 22px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 26px 0; }
.lead_strip_text { flex: 1; min-width: 200px; }
.lead_strip_text h4 { font-size: 16px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.lead_strip_text p  { font-size: 12px; color: rgba(255,255,255,.82); margin: 0; }
.lead_strip_form { display: flex; gap: 8px; flex-wrap: wrap; }
.lead_strip_form input  { padding: 9px 13px; border-radius: 6px; border: none; font-size: 13px; width: 185px; outline: none; }
.lead_strip_form button { background: #e65100; color: #fff; border: none; border-radius: 6px; padding: 9px 18px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }

/* ?? Process steps ?? */
.process_strip { background: #fff; padding: 52px 0 42px; }
.process_step { text-align: center; padding: 0 8px; position: relative; }
.process_step::after { content: '\2192'; position: absolute; right: -12px; top: 17px; font-size: 20px; color: #d0d4e8; }
.process_step:last-child::after { display: none; }
.pstep_num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,#1a237e,#283593); color: #fff; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.pstep_num.orange { background: linear-gradient(135deg,#e65100,#ff6d00); }
.process_step h6 { font-size: 12.5px; font-weight: 700; color: #1a237e; margin: 0 0 4px; }
.process_step p  { font-size: 11px; color: #888; margin: 0; line-height: 1.55; }

/* ?? Sticky CTA ?? */
.sticky_quote { position: fixed; bottom: 86px; right: 18px; background: linear-gradient(135deg,#1a237e,#283593); color: #fff; border-radius: 50px; padding: 10px 17px; font-size: 12px; font-weight: 700; z-index: 1000; box-shadow: 0 5px 20px rgba(26,35,126,.35); display: flex; align-items: center; gap: 7px; text-decoration: none !important; transition: all .25s; }
.sticky_quote:hover { background: linear-gradient(135deg,#e65100,#ff6d00); transform: scale(1.05); color: #fff !important; }

/* ?? Responsive ?? */
@media (max-width: 992px) {
    .svc_cards_wrap { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
    .svc_cards_wrap { grid-template-columns: 1fr; }
    .svc_stats_strip { flex-direction: column; padding: 16px; }
    .pstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 9px 0; }
    .pstat:last-child { border-bottom: none; }
    .lead_strip { flex-direction: column; padding: 18px 14px; }
    .lead_strip_form input, .lead_strip_form button { width: 100%; }
    .sticky_quote .sq-txt { display: none; }
    .sticky_quote { border-radius: 50%; width: 48px; height: 48px; padding: 0; justify-content: center; }
}
