/*
Theme Name: Amend Solutionz
Theme URI: https://amendsolutionz.com
Author: Amend Solutionz & Consultancy
Author URI: https://amendsolutionz.com
Description: Official theme for Amend Solutionz & Consultancy — a registered consultancy firm delivering practical, outcome-driven solutions across Education, Corporate, and IT sectors.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: amend-solutionz
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #142040;
  --gold: #C4882A;
  --gold-light: #E8C880;
  --gold-pale: #F7EDD8;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --mid: #5A6272;
  --light: #E8E4DC;
  --border: rgba(196,136,42,0.18);
  --radius: 4px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
}
h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { color: var(--mid); line-height: 1.8; }
a { text-decoration: none; color: inherit; }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: var(--navy);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }
.logo small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  margin-top: -2px;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--gold-light); }
nav a.active { color: var(--gold); }
.nav-cta {
  margin-left: 12px;
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #A8731F !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 24px;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,136,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,136,42,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-circle-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(196,136,42,0.1);
  right: -150px; top: 50%;
  transform: translateY(-50%);
}
.hero-circle-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(196,136,42,0.06);
  right: 50px; top: 50%;
  transform: translateY(-50%);
}
.hero-dot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { color: rgba(255,255,255,0.6); font-size: 17px; max-width: 560px; margin-bottom: 44px; }
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px;
}
.hero-tag {
  border: 1px solid rgba(196,136,42,0.35);
  color: rgba(232,200,128,0.8);
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #A8731F; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── SECTIONS ── */
.section { padding: 96px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-intro { margin: 0 auto; }
.section-intro {
  font-size: 16px;
  color: var(--mid);
  max-width: 620px;
  margin-top: 16px;
  line-height: 1.85;
}

.section-alt { background: var(--white); }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.55); }
.section-dark .eyebrow { color: var(--gold); }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background var(--transition);
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { background: var(--cream); }
.service-card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}
.service-card h3 { font-size: 21px; margin-bottom: 14px; color: var(--navy); }
.service-card p { font-size: 14.5px; color: var(--mid); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── WHY GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}
.why-item {
  background: var(--navy-mid);
  padding: 40px;
  display: flex;
  gap: 24px;
}
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 700;
}
.why-item h4 { color: var(--white); font-size: 17px; margin-bottom: 10px; font-family: 'Outfit', sans-serif; font-weight: 600; }
.why-item p { font-size: 14px; }

/* ── SECTOR PILLS ── */
.sectors-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sector-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(196,136,42,0.08);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 500;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(196,136,42,0.1);
  right: -100px; top: -100px;
}
.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h2 { color: var(--white); max-width: 500px; }
.cta-band p { color: rgba(255,255,255,0.5); margin-top: 12px; }

/* ── FOOTER ── */
footer {
  background: #060D1A;
  color: rgba(255,255,255,0.55);
  padding: 72px 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom a { color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 160px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,136,42,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,136,42,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 17px; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.4; }

/* ── DETAIL LIST ── */
.detail-list { list-style: none; }
.detail-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--light);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--mid);
}
.detail-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--light);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-info-item p { font-size: 15px; color: var(--navy); }

/* ── FORM ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 48px 44px;
  border-radius: var(--radius);
}
.form-card h3 { font-size: 26px; margin-bottom: 8px; }
.form-card .sub { font-size: 14px; color: var(--mid); margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-success {
  display: none;
  background: #F0FAF4;
  border: 1px solid #A8D5B5;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  color: #2D6A4F;
  font-size: 14px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #FFF0F0;
  border: 1px solid #F5B5B5;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  color: #8B2020;
  font-size: 14px;
}
.form-error.show { display: block; }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner { padding: 0 24px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 64px 20px; }
  .hero-inner, .page-hero { padding-left: 20px; padding-right: 20px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .footer-inner, .cta-band { padding-left: 20px; padding-right: 20px; }
}
