/*
Theme Name: Fahad Zahid PPC
Theme URI: https://fahadzahid.com
Author: Fahad Zahid
Author URI: https://fahadzahid.com
Description: A professional custom WordPress theme built for Fahad Zahid, Google Ads & PPC specialist. Includes homepage, services, industries, pricing, about, contact and blog templates with keyword-rich content targeting the Pakistani market.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fahadzahid-ppc
Tags: custom-menu, custom-logo, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, responsive-layout
*/

/* =========================================================
   TOKENS
   ========================================================= */
:root{
	--ink:#0B1220;
	--ink-soft:#141F30;
	--paper:#F6F7F4;
	--white:#FFFFFF;
	--signal:#0EA894;      /* growth teal */
	--signal-dark:#0B8578;
	--ember:#FF6B35;       /* CTA orange */
	--ember-dark:#E4592A;
	--text:#16202A;
	--muted:#5B6572;
	--muted-2:#8A93A0;
	--line:#E3E6E1;
	--line-dark:#25324A;

	--font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
	--font-body: 'Inter', 'Segoe UI', sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;

	--container: 1180px;
	--radius: 10px;
	--shadow: 0 12px 30px -14px rgba(11,18,32,0.18);
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
	margin:0;
	background:var(--paper);
	color:var(--text);
	font-family:var(--font-body);
	font-size:16px;
	line-height:1.65;
	-webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); line-height:1.15; margin:0 0 .5em; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0 0 1em; }
button{ font-family:inherit; }
:focus-visible{ outline:3px solid var(--ember); outline-offset:2px; }

@media (prefers-reduced-motion: reduce){
	*{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.eyebrow{
	font-family:var(--font-mono);
	font-size:12.5px;
	letter-spacing:0.14em;
	text-transform:uppercase;
	color:var(--signal-dark);
	display:inline-flex;
	align-items:center;
	gap:8px;
	margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--ember); display:inline-block; }

.section{ padding:88px 0; }
.section--tight{ padding:56px 0; }
.section--dark{ background:var(--ink); color:#E7EAF0; }
.section--dark .muted{ color:#9AA6B8; }
.section--paper{ background:var(--white); }

h2.h-lg{ font-size:clamp(28px,4vw,44px); }
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.muted{ color:var(--muted); }
.text-mono{ font-family:var(--font-mono); }

/* Ascending underline -- signature motif, used under key headings */
.rise-mark{ display:inline-block; margin-top:10px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
	display:inline-flex; align-items:center; gap:10px;
	padding:14px 26px;
	border-radius:999px;
	font-weight:600; font-size:15px;
	border:2px solid transparent;
	cursor:pointer;
	transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--ember); color:#fff; box-shadow:0 10px 24px -10px rgba(255,107,53,0.55); }
.btn-primary:hover{ background:var(--ember-dark); color:#fff; }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:var(--ink-soft); color:#fff; }
.btn-outline{ background:transparent; border-color:var(--line); color:var(--text); }
.btn-outline:hover{ border-color:var(--ink); }
.btn-outline-light{ background:transparent; border-color:rgba(255,255,255,0.35); color:#fff; }
.btn-outline-light:hover{ border-color:#fff; }
.btn-sm{ padding:10px 18px; font-size:13.5px; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
	position:sticky; top:0; z-index:100;
	background:rgba(246,247,244,0.9);
	backdrop-filter:blur(10px);
	border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--ink); }
.brand .brand-mark{ width:34px; height:34px; border-radius:8px; background:linear-gradient(135deg,var(--signal),var(--ember)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; font-weight:700; }
.brand small{ display:block; font-family:var(--font-mono); font-weight:400; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

.primary-nav{ display:flex; align-items:center; gap:2px; }
.primary-nav ul{ display:flex; gap:4px; align-items:center; }
.primary-nav a{
	padding:10px 14px; border-radius:8px; font-size:14.5px; font-weight:500; color:var(--text);
	transition:background .15s ease,color .15s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ background:rgba(14,168,148,0.1); color:var(--signal-dark); }
.primary-nav .menu-item-has-children{ position:relative; }
.primary-nav .sub-menu{
	position:absolute; top:100%; left:0; min-width:260px;
	background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow);
	padding:8px; opacity:0; visibility:hidden; transform:translateY(6px);
	transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.primary-nav .sub-menu a{ display:block; padding:10px 12px; border-radius:8px; }
.primary-nav .sub-menu a:hover{ background:var(--paper); }

.header-cta{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; flex-direction:column; font-size:13px; }
.header-phone a{ font-family:var(--font-mono); font-weight:600; color:var(--ink); }
.header-phone span{ color:var(--muted); font-size:11.5px; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:.2s; }

@media (max-width: 960px){
	.primary-nav{ position:fixed; inset:0 0 0 auto; width:min(320px,85vw); height:100vh; background:#fff; flex-direction:column; align-items:stretch; padding:90px 20px 20px; transform:translateX(100%); transition:transform .25s ease; box-shadow:-10px 0 30px rgba(0,0,0,0.1); overflow-y:auto; }
	.primary-nav.is-open{ transform:translateX(0); }
	.primary-nav ul{ flex-direction:column; align-items:stretch; gap:2px; }
	.primary-nav .sub-menu{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding-left:12px; display:none; }
	.primary-nav .menu-item-has-children.is-expanded > .sub-menu{ display:block; }
	.nav-toggle{ display:block; }
	.header-phone{ display:none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{ padding:76px 0 60px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(34px,5vw,58px); }
.hero .lede{ font-size:18px; color:var(--muted); max-width:520px; margin-bottom:28px; }
.hero-proof{ display:flex; gap:22px; margin-top:36px; flex-wrap:wrap; }
.hero-proof .proof-item{ font-family:var(--font-mono); font-size:13px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.hero-proof .proof-item strong{ color:var(--ink); font-size:15px; }

.hero-chart{ position:relative; }
.hero-chart svg{ width:100%; height:auto; }
.chart-line{ stroke:var(--signal); stroke-width:3; fill:none; stroke-dasharray:600; stroke-dashoffset:600; animation:draw 1.8s ease forwards .3s; }
.chart-line-2{ stroke:var(--ember); stroke-width:2; fill:none; opacity:.5; stroke-dasharray:600; stroke-dashoffset:600; animation:draw 1.8s ease forwards .6s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
.chart-dot{ fill:var(--ember); }
.chart-card{ position:absolute; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 16px; box-shadow:var(--shadow); font-family:var(--font-mono); font-size:12px; }
.chart-card b{ display:block; font-size:18px; color:var(--ink); font-family:var(--font-display); }
.chart-card.c1{ top:6%; right:2%; }
.chart-card.c2{ bottom:8%; left:0; }

@media (max-width:900px){
	.hero-grid{ grid-template-columns:1fr; }
	.hero-chart{ order:-1; }
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar{ background:var(--ink); color:#fff; padding:36px 0; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.stat-item{ text-align:center; }
.stat-item .num{ font-family:var(--font-mono); font-size:clamp(20px,3vw,30px); font-weight:600; color:var(--signal); }
.stat-item .lbl{ font-size:12.5px; color:#9AA6B8; margin-top:4px; }
@media (max-width:700px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   CARDS -- SERVICES / INDUSTRIES
   ========================================================= */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:960px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
	background:#fff; border:1px solid var(--line); border-radius:var(--radius);
	padding:30px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.card .icon{ width:46px; height:46px; border-radius:10px; background:rgba(14,168,148,0.12); color:var(--signal-dark); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.card h3{ font-size:19px; margin-bottom:10px; }
.card p{ color:var(--muted); font-size:14.5px; margin-bottom:16px; }
.card .card-link{ font-size:14px; font-weight:600; color:var(--signal-dark); display:inline-flex; align-items:center; gap:6px; }
.card .card-link:hover{ gap:10px; }

.industry-card{ padding:24px; border-radius:var(--radius); background:var(--white); border:1px solid var(--line); }
.industry-card h3{ font-size:16.5px; margin-bottom:8px; }
.industry-card p{ font-size:13.8px; color:var(--muted); margin:0; }

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; counter-reset:step; }
@media (max-width:960px){ .process-row{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .process-row{ grid-template-columns:1fr; } }
.process-step{ position:relative; padding-top:44px; }
.process-step::before{
	counter-increment:step; content:counter(step,decimal-leading-zero);
	font-family:var(--font-mono); font-size:13px; color:var(--ember);
	position:absolute; top:0; left:0; border:1px solid var(--line); border-radius:999px;
	width:34px; height:34px; display:flex; align-items:center; justify-content:center;
}
.process-step h4{ font-size:16px; margin-bottom:6px; }
.process-step p{ font-size:13.8px; color:var(--muted); }

/* =========================================================
   PRICING
   ========================================================= */
.price-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:36px 28px; display:flex; flex-direction:column; gap:18px; }
.price-card.featured{ border-color:var(--signal); box-shadow:0 20px 40px -20px rgba(14,168,148,0.35); position:relative; }
.price-card.featured::before{ content:"Most Popular"; position:absolute; top:-13px; left:28px; background:var(--signal); color:#fff; font-size:11.5px; font-family:var(--font-mono); padding:4px 12px; border-radius:999px; }
.price-card .price{ font-family:var(--font-mono); font-size:34px; color:var(--ink); }
.price-card .price span{ font-size:13px; color:var(--muted); font-family:var(--font-body); }
.price-card ul{ display:flex; flex-direction:column; gap:10px; flex:1; }
.price-card li{ font-size:14.5px; display:flex; gap:10px; align-items:flex-start; color:var(--text); }
.price-card li::before{ content:"✓"; color:var(--signal-dark); font-weight:700; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item{ border-bottom:1px solid var(--line); padding:20px 0; }
.faq-item summary{ cursor:pointer; font-weight:600; font-size:16px; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-family:var(--font-mono); font-size:20px; color:var(--ember); flex-shrink:0; transition:transform .2s ease; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ color:var(--muted); margin-top:12px; font-size:14.5px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.testimonial p{ font-size:15.5px; color:var(--text); }
.testimonial .who{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.testimonial .avatar{ width:42px; height:42px; border-radius:50%; background:var(--paper); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; color:var(--signal-dark); }
.testimonial .name{ font-weight:600; font-size:14px; }
.testimonial .role{ font-size:12.5px; color:var(--muted); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{ background:linear-gradient(120deg,var(--ink),var(--ink-soft)); color:#fff; border-radius:20px; padding:56px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-band h2{ font-size:clamp(24px,3vw,34px); margin-bottom:8px; }
.cta-band p{ color:#9AA6B8; margin:0; }

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-hero{ padding:56px 0 40px; border-bottom:1px solid var(--line); }
.page-hero .breadcrumb{ font-family:var(--font-mono); font-size:12.5px; color:var(--muted); margin-bottom:16px; }
.page-hero .breadcrumb a:hover{ color:var(--signal-dark); }
.page-hero h1{ font-size:clamp(28px,4vw,42px); max-width:760px; }
.page-hero .sub{ font-size:17px; color:var(--muted); max-width:640px; }

/* =========================================================
   SERVICE SINGLE
   ========================================================= */
.service-layout{ display:grid; grid-template-columns:2fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .service-layout{ grid-template-columns:1fr; } }
.service-main h2{ font-size:24px; margin-top:40px; }
.service-main h2:first-child{ margin-top:0; }
.feature-list{ display:flex; flex-direction:column; gap:14px; margin:20px 0; }
.feature-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; }
.feature-list li::before{ content:"→"; color:var(--ember); font-weight:700; flex-shrink:0; }
.sidebar-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; margin-bottom:20px; }
.sidebar-card h4{ font-size:15px; text-transform:uppercase; letter-spacing:.05em; font-family:var(--font-mono); color:var(--muted); margin-bottom:14px; }
.sidebar-card ul{ display:flex; flex-direction:column; gap:10px; }
.sidebar-card ul a{ font-size:14.5px; padding:8px 10px; border-radius:8px; display:block; }
.sidebar-card ul a:hover{ background:var(--paper); }
.sidebar-card ul li.current a{ background:rgba(14,168,148,0.1); color:var(--signal-dark); font-weight:600; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
@media (max-width:900px){ .contact-layout{ grid-template-columns:1fr; } }
.contact-info-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.contact-info-item .ic{ width:42px; height:42px; border-radius:10px; background:rgba(14,168,148,0.12); color:var(--signal-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-item h4{ font-size:14px; margin-bottom:4px; }
.contact-info-item p{ margin:0; font-size:14.5px; color:var(--muted); }

.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:6px; }
.form-field input, .form-field textarea, .form-field select{
	width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:14.5px; background:#fff;
}
.form-field input:focus, .form-field textarea:focus{ border-color:var(--signal); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.hp-field{ position:absolute; left:-9999px; }
.form-note{ font-size:13px; margin-top:10px; }
.form-note.success{ color:var(--signal-dark); }
.form-note.error{ color:var(--ember-dark); }

/* =========================================================
   BLOG
   ========================================================= */
.post-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.post-card .thumb{ aspect-ratio:16/9; background:var(--paper); overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding:22px; }
.post-card .meta{ font-family:var(--font-mono); font-size:11.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; }
.post-card h3{ font-size:18px; margin-bottom:10px; }
.post-card h3 a:hover{ color:var(--signal-dark); }
.post-card p{ font-size:14px; color:var(--muted); }
.entry-content{ font-size:17px; line-height:1.8; }
.entry-content h2{ font-size:26px; margin-top:1.6em; }
.entry-content h3{ font-size:20px; margin-top:1.4em; }
.entry-content img{ border-radius:var(--radius); margin:1.4em 0; }
.entry-content ul, .entry-content ol{ padding-left:1.4em; margin-bottom:1.2em; list-style:revert; }
.entry-content blockquote{ border-left:3px solid var(--ember); padding-left:20px; color:var(--muted); font-style:italic; margin:1.6em 0; }
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:40px; }
.pagination a, .pagination span{ padding:10px 16px; border:1px solid var(--line); border-radius:8px; font-size:14px; }
.pagination .current{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--ink); color:#B9C2D0; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:48px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.06em; font-family:var(--font-mono); margin-bottom:18px; }
.site-footer .brand{ color:#fff; margin-bottom:14px; }
.site-footer p{ font-size:14px; color:#8A94A6; }
.footer-links li{ margin-bottom:10px; }
.footer-links a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--signal); border-color:var(--signal); }
.footer-bottom{ border-top:1px solid var(--line-dark); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:#7A8494; }

/* =========================================================
   MISC / UTILITIES
   ========================================================= */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
.wp-block-image{ margin:0 0 1.4em; }
.alignwide{ max-width:1000px; }
.aligncenter{ margin-left:auto; margin-right:auto; }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; }
a.skip-link{ position:absolute; left:-999px; top:0; background:var(--ink); color:#fff; padding:12px 20px; z-index:999; }
a.skip-link:focus{ left:10px; top:10px; }
