/* ═══════════════════════════════════════════════════════════
   Umair Associates & Valuators — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0a1834;
  --navy-mid:  #0d2340;
  --gold:      #d4af37;
  --gold-dark: #b8962e;
  --cream:     #f5f2ed;
  --white:     #ffffff;
  --text:      #1a1208;
  --text-muted:#5a4e3e;
  --text-light:#8a7a68;
  --border:    #e8e2d8;
  --shadow:    0 2px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-brand .brand-name {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.navbar-brand .brand-sub {
  color: #8a9bb5;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: #e8dfc8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: #0d2340;
  padding: 20px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #e8dfc8;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1208;
  border: none;
  padding: 12px 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,150,46,.4); }
.btn-navy {
  display: inline-block;
  background: var(--navy-mid);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-navy:hover { background: #1a3a6b; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy-mid);
  border: 1.5px solid var(--navy-mid);
  padding: 9px 22px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--navy-mid); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 11px; }
.btn-danger {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  padding: 5px 14px;
  font-size: 12px;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: background .2s;
}
.btn-danger:hover { background: #ffcdd2; }
.btn-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #81c784;
  padding: 5px 14px;
  font-size: 12px;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: background .2s;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  border: 1px solid #c8c2b8;
  background: #fdfcf9;
  padding: 11px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  appearance: none;
}
.form-input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(184,150,46,.15); }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a4e3e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-input { resize: vertical; min-height: 90px; }

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--white); box-shadow: var(--shadow); }
.card-pad { padding: 36px; }
.card-pad-lg { padding: 48px 40px; }

/* ── Section layouts ──────────────────────────────────────── */
.section { padding: 96px 24px; }
.section-sm { padding: 64px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }
.container-xs { max-width: 620px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-title { font-size: 38px; color: var(--navy-mid); }
.section-divider { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); margin: 16px auto 0; }
.section-subtitle { color: var(--text-muted); font-size: 15px; margin-top: 14px; }

/* ── Grid ─────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert { padding: 14px 20px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; border: 1px solid #81c784; color: #2e7d32; }
.alert-error   { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; }
.alert-info    { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  font-family: 'Source Sans 3', sans-serif;
}
.badge-green  { background: #e8f5e9; color: #2e7d32; }
.badge-red    { background: #ffebee; color: #c62828; }
.badge-blue   { background: #e3f2fd; color: #1565c0; }
.badge-orange { background: #fff3e0; color: #e65100; }
.badge-gold   { background: rgba(212,175,55,.15); color: #7a5c10; border: 1px solid rgba(212,175,55,.4); }

/* ── Floating WhatsApp ────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ── Verify result box ────────────────────────────────────── */
.verify-result { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 32px; }
.verify-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0ece5; font-size: 14px; }
.verify-row:last-child { border-bottom: none; }
.verify-key { color: var(--text-light); font-weight: 600; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.verify-val { color: var(--text); font-weight: 500; text-align: right; max-width: 60%; }

/* ── Service cards ────────────────────────────────────────── */
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.service-icon { font-size: 36px; margin-bottom: 16px; }

/* ── Stats bar ────────────────────────────────────────────── */
.stat-num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8a9bb5; margin-top: 6px; font-weight: 500; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #060e1f; padding: 40px 24px; text-align: center; }
.footer-brand { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 8px; }
.footer-sub { font-size: 13px; color: #5a6a80; margin-bottom: 16px; }
.footer-line { height: 1px; background: rgba(212,175,55,.15); max-width: 400px; margin: 0 auto 16px; }
.footer-copy { font-size: 12px; color: #3a4a5e; }

/* ── Admin styles ─────────────────────────────────────────── */
.admin-navbar {
  background: #0a1834;
  border-bottom: 1px solid rgba(212,175,55,.2);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.admin-title { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 18px; }
.admin-body { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  background: var(--navy-mid);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #f0ece5; color: #2a1f0e; }
.admin-table tr:hover td { background: #faf8f4; }
.tab-bar { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab-btn {
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  text-decoration: none;
}
.tab-btn.active { color: var(--navy-mid); border-bottom-color: var(--gold-dark); }
.tab-btn:hover:not(.active) { color: var(--navy-mid); }
.summary-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-bottom: 36px; }
.summary-card { background: var(--white); box-shadow: var(--shadow); padding: 24px 20px; }
.summary-num { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; line-height: 1; margin-top: 8px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 32px !important; }
  .card-pad-lg { padding: 28px 24px; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
  .tab-btn { padding: 10px 16px; font-size: 12px; }
}
