/*
Theme Name: Techzentis Freelancer Jobs
Theme URI: https://freelancerjobs.techzentis.com/
Author: Techzentis Digital Services
Author URI: https://techzentis.com/
Description: A premium, responsive WordPress marketplace homepage for clients and freelancers.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: techzentis-freelancer
*/

:root {
  --navy: #071b33;
  --navy-2: #0b2746;
  --teal: #19d4c5;
  --teal-dark: #0eaa9f;
  --blue: #2563eb;
  --white: #ffffff;
  --ink: #172033;
  --muted: #65738a;
  --line: #e5eaf1;
  --surface: #f5f8fc;
  --shadow: 0 18px 55px rgba(7, 27, 51, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(229,234,241,.85);
  backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--navy); font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(145deg, var(--teal), #9bf8ef);
  box-shadow: 0 8px 22px rgba(25,212,197,.25);
}
.brand-copy strong { display: block; color: var(--navy); font-size: 17px; line-height: 1.1; }
.brand-copy small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin-top: 4px; }
.custom-logo { max-height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #33445d; font-size: 14px; font-weight: 650; }
.main-nav a:hover { color: var(--teal-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-link { font-weight: 700; font-size: 14px; padding: 10px 11px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 750; font-size: 15px; cursor: pointer; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--navy); box-shadow: 0 10px 24px rgba(25,212,197,.22); }
.btn-primary:hover { background: #47e3d6; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.38); color: var(--white); background: rgba(255,255,255,.07); }
.btn-sm { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; font-size: 24px; }

.hero {
  position: relative; overflow: hidden; padding: 92px 0 76px;
  min-height: 620px; display: flex; align-items: center;
  color: var(--white); background-image:
    linear-gradient(90deg, rgba(7,27,51,.99) 0%, rgba(7,27,51,.94) 39%, rgba(7,27,51,.55) 60%, rgba(7,27,51,.06) 82%),
    url('assets/images/freelancer-home-office.webp');
  background-size: cover;
  background-position: center;
}
.hero:after { content: ""; position: absolute; inset: 0; opacity: .035; pointer-events: none; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px; }
.hero-grid { position: relative; z-index: 1; display: block; }
.hero-copy { max-width: 670px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow:before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 18px 0 20px; max-width: 720px; font-size: clamp(42px, 5.2vw, 67px); line-height: 1.06; letter-spacing: -.045em; }
.hero h1 span { color: var(--teal); }
.hero-copy > p { margin: 0; max-width: 650px; color: #c6d4e5; font-size: 18px; }
.job-search {
  display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 0;
  margin-top: 31px; padding: 7px; max-width: 760px; border-radius: 15px; background: var(--white); box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.field-wrap { display: flex; align-items: center; gap: 10px; padding: 0 15px; border-right: 1px solid var(--line); }
.field-wrap svg { flex: 0 0 18px; color: var(--teal-dark); }
.field-wrap input, .field-wrap select { width: 100%; height: 50px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.job-search .btn { min-height: 50px; }
.popular-searches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 19px; align-items: center; color: #aabbd0; font-size: 12px; }
.popular-searches a { padding: 5px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #e1ebf6; }
.hero-visual { position: relative; min-height: 440px; }
.talent-panel { position: absolute; inset: 20px 16px 30px 40px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-head strong { font-size: 14px; }
.online-dot { color: #b8fff7; font-size: 12px; }
.online-dot:before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(25,212,197,.12); }
.talent-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 13px; align-items: center; margin-bottom: 12px; padding: 15px; color: var(--ink); border-radius: 15px; background: var(--white); }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); font-weight: 850; border-radius: 14px; background: linear-gradient(135deg, #2563eb, #7c3aed); }
.avatar.green { background: linear-gradient(135deg, #0eaa9f, #19d4c5); }
.avatar.orange { background: linear-gradient(135deg, #f97316, #fbbf24); }
.talent-card strong { display: block; font-size: 13px; }
.talent-card small { display: block; color: var(--muted); font-size: 11px; }
.rating { color: #f59e0b; font-size: 11px; font-weight: 800; }
.mini-stat { position: absolute; right: -12px; bottom: 5px; padding: 16px 20px; border-radius: 15px; color: var(--navy); background: var(--teal); box-shadow: var(--shadow); }
.mini-stat strong { display: block; font-size: 24px; line-height: 1; }
.mini-stat span { font-size: 11px; font-weight: 750; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fbfcfe; }
.trust-inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.trust-label { color: var(--muted); font-size: 13px; font-weight: 650; }
.trust-items { display: flex; flex: 1; justify-content: flex-end; gap: 50px; color: #8490a3; font-weight: 850; letter-spacing: .02em; }

.section { padding: 88px 0; }
.section-soft { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-head h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.section-head p { max-width: 540px; margin: 0; color: var(--muted); }
.link-arrow { flex-shrink: 0; color: var(--teal-dark); font-weight: 800; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .22s ease; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(25,212,197,.7); box-shadow: var(--shadow); }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 13px; color: var(--teal-dark); background: #e9fcfa; }
.category-card h3 { margin: 0 0 5px; color: var(--navy); font-size: 16px; }
.category-card span { color: var(--muted); font-size: 12px; }

.jobs-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 25px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .2s ease; }
.job-card:hover { border-color: #b9c8db; box-shadow: 0 14px 45px rgba(7,27,51,.08); }
.job-topline { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 9px; }
.badge { padding: 4px 9px; border-radius: 999px; color: #087a72; background: #e6fbf9; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.job-time { color: var(--muted); font-size: 11px; }
.job-card h3 { margin: 0 0 7px; color: var(--navy); font-size: 19px; }
.job-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.job-description { max-width: 800px; margin: 14px 0; color: #52627a; font-size: 13px; }
.skill-list { display: flex; gap: 7px; flex-wrap: wrap; }
.skill { padding: 5px 10px; border-radius: 7px; color: #4b5c73; background: #f0f4f8; font-size: 11px; font-weight: 650; }
.job-side { min-width: 150px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.budget { color: var(--navy); font-size: 17px; font-weight: 850; }
.verified { color: #087a72; font-size: 11px; font-weight: 750; }

.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.how-visual { min-height: 520px; position: relative; overflow: hidden; border-radius: 26px; background: var(--navy); box-shadow: var(--shadow); }
.how-visual:before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,27,51,.82) 100%); }
.how-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: #fff; }
.photo-caption strong { display: block; font-size: 19px; }
.photo-caption span { color: #d7e3ee; font-size: 12px; }
.dashboard { position: relative; margin-top: 35px; padding: 20px; border-radius: 17px; background: var(--white); box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.dash-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dash-row:last-child { border-bottom: 0; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.dash-row strong { font-size: 12px; }
.dash-row span { color: var(--muted); font-size: 10px; }
.how-kicker { color: var(--teal); font-weight: 800; }
.steps { display: grid; gap: 26px; margin-top: 35px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 17px; }
.step-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--navy); background: #dcfaf7; font-weight: 900; }
.step h3 { margin: 1px 0 4px; color: var(--navy); font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.stats { padding: 55px 0; color: var(--white); background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--teal); font-size: 35px; letter-spacing: -.03em; }
.stat span { color: #b9c7d8; font-size: 12px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote-stars { color: #f59e0b; letter-spacing: 2px; }
.quote-card blockquote { margin: 17px 0 21px; color: #44536a; font-size: 14px; }
.quote-person { display: flex; align-items: center; gap: 11px; }
.quote-person .avatar { width: 42px; height: 42px; border-radius: 50%; font-size: 12px; }
.quote-person strong { display: block; color: var(--navy); font-size: 13px; }
.quote-person span { color: var(--muted); font-size: 11px; }
.community-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; margin-bottom: 28px; overflow: hidden; border-radius: 24px; background: var(--navy); box-shadow: var(--shadow); }
.community-feature img { width: 100%; height: 340px; object-fit: cover; }
.community-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px 48px; color: #fff; }
.community-copy .eyebrow { margin-bottom: 12px; }
.community-copy h2 { margin: 0 0 14px; font-size: clamp(29px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.community-copy p { margin: 0; max-width: 550px; color: #b8c9db; }

.cta { padding: 80px 0; }
.cta-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 54px 60px; overflow: hidden; position: relative; border-radius: 26px; color: var(--white); background: linear-gradient(120deg, #0b2b4e, var(--navy)); }
.cta-box:after { content: ""; position: absolute; right: -70px; bottom: -140px; width: 320px; height: 320px; border: 55px solid rgba(25,212,197,.13); border-radius: 50%; }
.cta-box h2 { margin: 0 0 8px; font-size: clamp(29px, 4vw, 43px); line-height: 1.1; letter-spacing: -.035em; }
.cta-box p { margin: 0; color: #b8c9db; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 10px; }

.site-footer { color: #b6c3d3; background: #041325; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 55px; padding: 65px 0 45px; }
.footer-brand p { max-width: 320px; margin: 18px 0 0; color: #8999ad; font-size: 13px; }
.footer-col h3 { margin: 0 0 18px; color: var(--white); font-size: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #91a2b7; font-size: 12px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

.content-wrap { min-height: 55vh; padding: 70px 0; }
.content-wrap h1 { color: var(--navy); }
.pagination { margin-top: 30px; }

@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 13px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions .text-link { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .community-feature { grid-template-columns: 1fr; }
  .community-feature img { height: 360px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .header-actions .btn { padding-inline: 13px; min-height: 40px; }
  .hero { min-height: 640px; padding: 66px 0 55px; background-position: 67% center; background-image: linear-gradient(90deg, rgba(7,27,51,.99) 0%, rgba(7,27,51,.92) 58%, rgba(7,27,51,.4) 100%), url('assets/images/freelancer-home-office.webp'); }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 15px; }
  .job-search { grid-template-columns: 1fr; gap: 4px; }
  .field-wrap { border: 0; border-bottom: 1px solid var(--line); }
  .trust-inner { padding-block: 22px; align-items: flex-start; flex-direction: column; }
  .trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 38px; }
  .section { padding: 65px 0; }
  .section-head { display: block; }
  .section-head .link-arrow { display: inline-block; margin-top: 18px; }
  .category-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .job-side { align-items: flex-start; gap: 12px; }
  .how-visual { min-height: 390px; }
  .community-feature img { height: 270px; }
  .community-copy { padding: 32px 25px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(2) { border: 0; }
  .cta-box { grid-template-columns: 1fr; padding: 38px 27px; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
