/*
Theme Name: Muto Consults
Theme URI: https://mutoconsults.com
Author: Kemigisa Suzan
Author URI: https://github.com/Suzankemigisa
Description: Professional recruitment and career development website for Muto Consults Uganda
Version: 1.0.0
License: Private
Text Domain: muto-consults
*/

/* ── Brand Variables ─────────────────────────────────────────── */
:root {
  --navy:         #1B2D6B;
  --orange:       #F05A22;
  --silver:       #C8CDD6;
  --silver-light: #EEF0F3;
  --white:        #FFFFFF;
  --black:        #1A1A1A;
  --gray:         #444444;
  --gray-light:   #F7F8FA;

  --font-primary:   'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 20px rgba(27, 45, 107, 0.08);
  --shadow-hover: 0 8px 32px rgba(27, 45, 107, 0.16);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: transparent;
  color: var(--orange);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Section Styles ──────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--silver-light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2,
.section-dark h3 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

/* ── Orange underline accent ─────────────────────────────────── */
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ── Grid helpers ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--silver);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 90, 34, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-orange { background: rgba(240,90,34,0.12); color: var(--orange); }
.badge-navy   { background: rgba(27,45,107,0.1);  color: var(--navy); }
.badge-green  { background: rgba(34,197,94,0.12); color: #16a34a; }

/* ── Utilities ───────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-orange  { color: var(--orange); }
.text-navy    { color: var(--navy); }
.text-white   { color: var(--white); }
.bg-navy      { background: var(--navy); }
.bg-orange    { background: var(--orange); }
.bg-silver    { background: var(--silver-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.875rem; }
}
