/*
Theme Name: Hamza Consultancy
Theme URI: https://hamzaconsultancy.com/
Author: Hamza Consultancy
Description: A modern, responsive one-page WordPress theme for Hamza Consultancy with Home, About, Services and Contact sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hamza-consultancy
*/

:root {
  --hc-green: #003f3d;
  --hc-green-2: #075a57;
  --hc-gold: #c9982b;
  --hc-gold-2: #e0b651;
  --hc-ink: #10201f;
  --hc-muted: #60706f;
  --hc-bg: #f7f8f7;
  --hc-white: #ffffff;
  --hc-border: rgba(0, 63, 61, .12);
  --hc-shadow: 0 18px 50px rgba(0, 45, 43, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hc-ink);
  background: var(--hc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; scroll-margin-top: 85px; }
.section-soft { background: var(--hc-bg); }
.kicker { color: var(--hc-gold); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
.section-title { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em; }
.section-copy { max-width: 720px; color: var(--hc-muted); font-size: 1.03rem; }

.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hc-border); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 58px; height: 58px; border-radius: 50%; object-fit: contain; }
.brand-text { font-weight: 850; color: var(--hc-green); letter-spacing: -.02em; font-size: 1.06rem; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-weight: 700; font-size: .95rem; color: #27403e; position: relative; }
.primary-nav a:after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--hc-gold); transition: width .22s ease; }
.primary-nav a:hover:after, .primary-nav a:focus-visible:after { width: 100%; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.menu-toggle span, .menu-toggle:before, .menu-toggle:after { content: ""; display: block; width: 23px; height: 2px; background: var(--hc-green); margin: 5px auto; transition: .2s; }

.hero { position: relative; overflow: hidden; min-height: 720px; display: flex; align-items: center; background: radial-gradient(circle at 77% 28%, rgba(201,152,43,.16), transparent 29%), linear-gradient(135deg, #f9fbfa 0%, #ffffff 60%, #f2f7f6 100%); }
.hero:before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(0,63,61,.08); border-radius: 50%; right: -120px; top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; padding: 82px 0; }
.hero h1 { margin: 0 0 22px; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .97; letter-spacing: -.055em; color: var(--hc-green); }
.hero h1 span { color: var(--hc-gold); }
.hero p { margin: 0 0 30px; max-width: 650px; color: var(--hc-muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--hc-green); color: white; box-shadow: 0 12px 30px rgba(0,63,61,.18); }
.btn-primary:hover { background: var(--hc-green-2); }
.btn-secondary { border-color: rgba(0,63,61,.18); color: var(--hc-green); background: rgba(255,255,255,.72); }
.hero-card { position: relative; margin-left: auto; width: min(430px, 100%); aspect-ratio: 1/1; border-radius: 44px; background: rgba(255,255,255,.78); box-shadow: var(--hc-shadow); border: 1px solid rgba(201,152,43,.24); display: grid; place-items: center; padding: 38px; }
.hero-card:after { content: "Trusted Guidance • Global Perspective"; position: absolute; bottom: -18px; left: 26px; right: 26px; background: var(--hc-green); color: #fff; border-radius: 999px; padding: 12px 18px; text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.hero-logo { width: 88%; filter: drop-shadow(0 16px 24px rgba(0,63,61,.08)); }
.hero-stat-row { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat { min-width: 150px; }
.hero-stat strong { display: block; color: var(--hc-green); font-size: 1.2rem; }
.hero-stat span { color: var(--hc-muted); font-size: .88rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { background: linear-gradient(145deg, var(--hc-green), #0d5e5a); border-radius: 32px; padding: 48px; color: white; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--hc-shadow); }
.about-visual img { width: 180px; background: white; border-radius: 50%; padding: 8px; }
.about-visual blockquote { margin: 40px 0 0; font-size: 1.5rem; line-height: 1.35; font-weight: 700; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: #3e5351; }
.check b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,152,43,.15); color: var(--hc-gold); flex: 0 0 24px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.service-card { background: white; border: 1px solid var(--hc-border); border-radius: 24px; padding: 30px; box-shadow: 0 10px 34px rgba(0,63,61,.05); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--hc-shadow); }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,63,61,.07); color: var(--hc-green); font-size: 1.4rem; font-weight: 900; margin-bottom: 20px; }
.service-card h3 { margin: 0 0 10px; color: var(--hc-green); font-size: 1.16rem; }
.service-card p { margin: 0; color: var(--hc-muted); font-size: .95rem; }

.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; align-items: stretch; }
.contact-panel, .contact-form-wrap { border-radius: 28px; padding: 34px; }
.contact-panel { background: var(--hc-green); color: white; }
.contact-panel .section-title { font-size: 2.4rem; }
.contact-panel p { color: rgba(255,255,255,.78); }
.contact-item { display: flex; gap: 14px; margin-top: 26px; align-items: flex-start; }
.contact-item b { display: block; color: var(--hc-gold-2); margin-bottom: 2px; }
.contact-item a { color: white; word-break: break-word; }
.contact-form-wrap { background: var(--hc-bg); border: 1px solid var(--hc-border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 800; color: #314b49; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(0,63,61,.16); border-radius: 14px; background: white; padding: 14px 15px; font: inherit; outline: none; color: var(--hc-ink); }
.field input:focus, .field textarea:focus { border-color: var(--hc-gold); box-shadow: 0 0 0 3px rgba(201,152,43,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form-status { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.form-status.success { background: #e7f5ef; color: #155f44; }
.form-status.error { background: #fff0ef; color: #9c2e25; }

.site-footer { background: #062f2d; color: rgba(255,255,255,.78); padding: 28px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-weight: 800; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; background: white; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a:hover { color: white; }

@media (max-width: 940px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { margin: 10px auto 0; width: min(420px, 88vw); }
  .about-visual { min-height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: white; border: 1px solid var(--hc-border); border-radius: 18px; padding: 10px; box-shadow: var(--hc-shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px 14px; border-radius: 10px; }
  .primary-nav a:hover { background: var(--hc-bg); }
  .primary-nav a:after { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .hero-grid { padding: 58px 0 72px; gap: 46px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .brand-text { display: none; }
  .services-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .about-visual, .contact-panel, .contact-form-wrap { padding: 26px; border-radius: 22px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
