/*
Theme Name: Driver Assist Islamabad
Theme URI: https://example.com/
Author: Independent Registration Assistance Service
Description: One-page business theme for an independent driver registration assistance office. Not affiliated with any ride-hailing company. Business name, phone, WhatsApp, address, map coordinates and hours are editable under Appearance > Customize > Business Details.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driver-assist
*/

:root {
  --primary: #14b8a6;
  --primary-hover: #0d9488;
  --dark: #0f172a;
  --dark-card: #1e293b;
  --light-bg: #f8fafc;
  --card-border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-notice { background: var(--dark); color: #cbd5e1; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-notice-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-notice a { color: var(--primary); font-weight: 600; }

/* Header */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--card-border); box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 74px; gap: 16px; }
.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo img.custom-logo { max-height: 44px; width: auto; }
.brand-badge { background: var(--primary); color: var(--white); font-weight: 800; font-size: 17px; padding: 5px 10px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-weight: 800; font-size: 16px; color: var(--dark); }
.brand-sub { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.nav-menu { display: flex; align-items: center; gap: 14px; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a { font-size: 13.5px; font-weight: 600; color: var(--text-main); padding: 10px 6px; display: inline-flex; align-items: center; transition: color 0.2s; }
.nav-menu a:hover { color: var(--primary-hover); }
.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 10px; min-width: 200px; display: none; list-style: none; z-index: 999; }
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a { display: block; padding: 7px 12px; border-radius: var(--radius-sm); }
.nav-menu .sub-menu a:hover { background: var(--light-bg); }

.nav-cta-btn { background: var(--dark); color: var(--white); padding: 9px 18px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: 0.2s ease; }
.nav-cta-btn:hover { background: #000; }

/* Hero */
.hero { padding: 60px 0 65px; background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%); border-bottom: 1px solid var(--card-border); }
.hero-content { max-width: 860px; margin: 0 auto; text-align: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; background: #f1f5f9; border: 1px solid var(--card-border); color: var(--text-main); padding: 6px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.pill-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.18; letter-spacing: -0.03em; color: var(--dark); margin-bottom: 18px; }
.hero h1 span { background: linear-gradient(120deg, #14b8a6 0%, #0f766e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 25px; }
.btn-primary { display: inline-block; background: var(--primary); color: var(--white); font-weight: 800; font-size: 14.5px; padding: 13px 26px; border-radius: var(--radius-pill); transition: all 0.2s; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-dark { display: inline-block; background: var(--dark); color: var(--white); font-weight: 700; font-size: 14.5px; padding: 13px 26px; border-radius: var(--radius-pill); transition: all 0.2s; }
.btn-dark:hover { background: #000; }
.btn-outline { display: inline-block; border: 1.5px solid var(--card-border); background: var(--white); color: var(--dark); font-weight: 700; font-size: 14.5px; padding: 12px 24px; border-radius: var(--radius-pill); transition: all 0.2s; }
.btn-outline:hover { border-color: var(--dark); }
.btn-outline.on-dark { background: transparent; border-color: #fff; color: #fff; }
.location-strip { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; background: var(--white); border: 1px solid var(--card-border); padding: 10px 22px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }

/* Disclaimer */
.disclaimer-strip { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #78350f; font-size: 13px; padding: 10px 0; text-align: center; }
.disclaimer-box { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: var(--radius-md); padding: 16px 20px; font-size: 13.5px; max-width: 800px; margin: 28px auto 0; }

/* Sections */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 45px; }
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 10px; }
.section-head p { font-size: 15.5px; color: var(--text-muted); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 28px; transition: all 0.25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.steps-section { background: var(--light-bg); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.steps-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.step-item { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 24px 20px; }
.step-number { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: var(--white); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.step-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.docs-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.docs-info h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.docs-info > p { color: var(--text-muted); margin-bottom: 20px; }
.doc-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.doc-check-item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--dark); background: #f8fafc; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--card-border); }
.check-badge { width: 22px; height: 22px; background: #22c55e; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex-shrink: 0; }
.docs-card { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.docs-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 10px; }
.docs-card p { color: #cbd5e1; font-size: 14px; margin-bottom: 22px; }

.location-box { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: var(--shadow); }
.loc-details { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.loc-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 6px; }
.loc-details h3 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.loc-row { margin-bottom: 16px; }
.loc-label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.loc-val { font-size: 15px; font-weight: 700; color: var(--dark); }
.loc-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question::after { content: '+'; font-size: 18px; color: var(--text-muted); }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer { display: none; padding: 0 22px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.faq-item.active .faq-answer { display: block; }

.cta-banner { background: var(--dark); color: var(--white); padding: 60px 0; text-align: center; }
.cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: #cbd5e1; max-width: 580px; margin: 0 auto 25px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #090e17; color: #94a3b8; padding: 60px 0 25px; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: 35px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-brand .brand-title { color: #fff; }
.footer-legal { border-top: 1px solid #1e293b; padding-top: 20px; font-size: 12.5px; }
.footer-legal p { margin-bottom: 8px; }

.whatsapp-bubble { position: fixed; bottom: 22px; right: 22px; background: #25d366; color: var(--white); font-weight: 800; font-size: 14px; padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: 0 5px 25px rgba(37,211,102,0.45); display: flex; align-items: center; gap: 8px; z-index: 999; transition: 0.2s transform; }
.whatsapp-bubble:hover { transform: scale(1.05); }

/* Generic content (posts/pages) */
.content-wrap { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.content-wrap h1, .content-wrap h2 { color: var(--dark); margin: 24px 0 12px; }
.content-wrap p { margin-bottom: 16px; }

.screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .docs-container, .location-box, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .loc-details { padding: 25px; }
}
@media (max-width: 600px) {
  .nav-cta-btn { padding: 8px 12px; font-size: 12.5px; }
  .brand-sub { display: none; }
}
