/*
Theme Name:  ACHIEVAZ
Theme URI:   https://www.achievaz.rw
Author:      ACHIEVAZ Ltd
Author URI:  https://www.achievaz.rw
Description: A professional, elegant theme for ACHIEVAZ Ltd — a consulting firm offering Private Sector Development, Event Management, Marketing and HR services.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: achievaz
Tags:        business, consulting, events, one-page, custom-colors, custom-menu, featured-images, full-width-template
*/

/* ─────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────── */
:root {
  --navy:       #0d1f2d;
  --teal:       #2a9d8f;
  --teal-light: #3bbfaf;
  --gold:       #e9c46a;
  --offwhite:   #f5f2ec;
  --midgrey:    #8a9ba8;
  --darkgrey:   #4a5c6a;
  --white:      #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', Arial, sans-serif;

  --radius: 0px;
  --transition: 0.3s ease;
  --shadow-md: 0 8px 32px rgba(13,31,45,0.10);
  --shadow-lg: 0 20px 60px rgba(13,31,45,0.14);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─────────────────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
}

.display-headline {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
}

.display-headline em { font-style: italic; color: var(--teal-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.section-title strong { font-weight: 600; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.8rem;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.body-text {
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--darkgrey);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

/* ─────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-pad { padding: 6rem 0; }
.section-pad-lg { padding: 8rem 0; }

.teal-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--teal));
}

/* ─────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.site-logo span { color: var(--teal-light); }

#primary-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

#primary-menu li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--teal-light); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem;
  font-size: 0.75rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; color: var(--white) !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(42,157,143,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(42,157,143,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    var(--teal) 40px, var(--teal) 41px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  animation: fadeUp 0.9s ease both;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--teal);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.9;
  margin: 1.5rem 0 3rem;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-light); color: var(--white); }
.btn-primary::after { content: '→'; font-size: 1rem; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.hero-stats {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: right;
}

.stat-item { animation: fadeUp 1s ease both; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-num sup { font-size: 1.1rem; color: var(--teal); vertical-align: super; }
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.hero-scroll::before {
  content: '';
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.2);
}

/* ─────────────────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────────────────── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  background: var(--navy);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.about-visual .custom-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(42,157,143,0.4), transparent 60%);
}

.about-visual-geo {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 4.5rem; height: 4.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
}
.about-visual-geo::before {
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(42,157,143,0.5);
}

.about-visual-text {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem; right: 2.5rem;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.about-attr {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────────────────── */
#services { background: var(--offwhite); }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.service-card {
  background: var(--white);
  padding: 3.5rem;
  border: 1px solid rgba(13,31,45,0.07);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.service-card:hover .service-icon { background: var(--teal); color: var(--white); }

.service-num {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(13,31,45,0.04);
  line-height: 1;
}

.service-icon {
  width: 3.2rem; height: 3.2rem;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-line {
  width: 2rem; height: 2px;
  background: var(--teal);
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #6a7f8d;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────
   PACKAGES
───────────────────────────────────────────────────────── */
#packages {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#packages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 90% 50%, rgba(42,157,143,0.1), transparent);
  pointer-events: none;
}

#packages .section-label { color: var(--teal); }
#packages .section-title { color: var(--white); }

.packages-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
  position: relative; z-index: 2;
}

.packages-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  font-weight: 300;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative; z-index: 2;
}

.package-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 2.2rem 1.8rem;
  transition: background var(--transition), border-color var(--transition);
}
.package-card:hover { background: rgba(42,157,143,0.12); border-color: var(--teal); }
.package-card.featured { background: var(--teal); border-color: var(--teal); }

.package-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.package-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.package-card.featured .package-subtitle { color: rgba(255,255,255,0.75); }

.package-divider {
  width: 2rem; height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 1.2rem 0;
}
.package-card.featured .package-divider { background: rgba(255,255,255,0.4); }

.package-features { display: flex; flex-direction: column; gap: 0.7rem; }
.package-features li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 300;
}
.package-features li::before {
  content: '◆';
  color: var(--teal);
  font-size: 0.38rem;
  flex-shrink: 0;
  margin-top: 0.38rem;
}
.package-card.featured .package-features li { color: rgba(255,255,255,0.9); }
.package-card.featured .package-features li::before { color: rgba(255,255,255,0.8); }

.packages-note {
  position: relative; z-index: 2;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}
.packages-note span { color: var(--teal); font-weight: 600; font-style: normal; }

/* ─────────────────────────────────────────────────────────
   APPROACH
───────────────────────────────────────────────────────── */
#approach { background: var(--white); }

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pillars { margin-top: 2.5rem; }

.pillar {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(13,31,45,0.07);
  transition: padding-left var(--transition);
}
.pillar:first-child { border-top: 1px solid rgba(13,31,45,0.07); }
.pillar:hover { padding-left: 0.5rem; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--darkgrey);
  line-height: 1.7;
  font-weight: 300;
}

.approach-box {
  background: var(--navy);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.approach-box::before {
  content: '';
  position: absolute;
  top: -2rem; right: -2rem;
  width: 7rem; height: 7rem;
  border: 1px solid rgba(42,157,143,0.3);
}

.approach-box-quote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.approach-box-attr {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.approach-accent {
  position: absolute;
  bottom: -1.5rem; right: 2rem;
  width: 3.5rem; height: 3.5rem;
  background: var(--teal);
}

/* ─────────────────────────────────────────────────────────
   CLIENTS
───────────────────────────────────────────────────────── */
#clients { background: var(--offwhite); }

.clients-intro { text-align: center; margin-bottom: 3.5rem; }
.clients-intro .section-label { justify-content: center; }
.clients-intro .section-title { text-align: center; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.client-item {
  background: var(--white);
  border: 1px solid rgba(13,31,45,0.07);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
  text-align: center;
}
.client-item:hover { border-color: var(--teal); }

.client-item img { max-height: 60px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.client-item:hover img { filter: none; opacity: 1; }

.client-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
}

/* ─────────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────────── */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  background: var(--teal);
  padding: 6rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-left .section-label { color: rgba(255,255,255,0.75); }
.contact-left .section-label::before { background: rgba(255,255,255,0.5); }
.contact-left .section-title { color: var(--white); }
.contact-left .body-text { color: rgba(255,255,255,0.8); }

.contact-right {
  background: var(--navy);
  padding: 6rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 2.4rem; height: 2.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-item-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.5;
}

.contact-form { margin-top: 2rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
#site-footer {
  background: #060f17;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-logo span { color: var(--teal); }

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────
   WORDPRESS CORE ALIGNMENT CLASSES
───────────────────────────────────────────────────────── */
.alignnone  { margin: 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; }
.alignleft  { float: left; margin: 0 2rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 2rem; }
.wp-caption { max-width: 100%; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid,
  .approach-grid,
  .services-header,
  .packages-header { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 3/2; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  #contact { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-taglines { display: none; }
  #primary-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 2rem; gap: 1.5rem; }
  #primary-menu.open { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  .packages-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .section-pad, .section-pad-lg { padding: 4rem 0; }
}
