/* ================================================
   ALITHEIA CONSULTING — Main Stylesheet
   Colour palette: Purple / Magenta / Warm Orange (brand logo)
   ================================================ */

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

:root {
  --primary:      #9333ea;   /* purple-600 — logo purple */
  --primary-dark: #7e22ce;   /* purple-700 */
  --primary-light:#f3e8ff;   /* purple-100 */
  --accent:       #ec4899;   /* magenta/pink — logo gradient mid */
  --accent-warm:  #f97316;   /* warm orange — logo base */
  --gradient:     linear-gradient(135deg, #f97316 0%, #ec4899 50%, #9333ea 100%);
  --text:         #1f2937;
  --text-muted:   #6b7280;
  --bg:           #ffffff;
  --bg-light:     #faf5ff;   /* very light purple */
  --border:       #e5e7eb;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(147,51,234,.10);
  --shadow-lg:    0 8px 40px rgba(147,51,234,.18);
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

.accent { color: var(--primary); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--primary-light); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }

.btn-whatsapp-sm {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  padding: 9px 18px;
  font-size: 0.88rem;
  border-radius: 8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  margin-top: 14px;
}
.btn-whatsapp-sm:hover { background: #1ebe5d; color: #fff; }

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Actual logo image */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.footer .logo-img {
  height: 56px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: 16px; font-size: 0.9rem; padding: 10px 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
}
.mobile-menu a {
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 12px; }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 40%, #fff 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 12px;
}
.hero-text h1 { margin-bottom: 18px; }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 999px;
}
.badge i { font-size: 0.85rem; }

/* Hero image / card stack */
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 340px;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform .2s, box-shadow .2s;
}
.hero-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.hero-card i {
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-card div { display: flex; flex-direction: column; }
.hero-card strong { font-weight: 700; font-size: 1rem; color: var(--text); }
.hero-card span { font-size: 0.85rem; color: var(--text-muted); }
.card-2 { border-color: var(--accent); }
.card-2 i { color: var(--accent); }
.card-3 { border-color: var(--accent-warm); }
.card-3 i { color: var(--accent-warm); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

/* --- WHY STRIP --- */
.why-strip {
  background: var(--gradient);
  padding: 28px 0;
}
.why-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.why-item i {
  font-size: 1.6rem;
  flex-shrink: 0;
  opacity: .9;
}
.why-item strong { display: block; font-weight: 700; font-size: 0.95rem; }
.why-item span { font-size: 0.82rem; opacity: .85; }

@media (max-width: 768px) {
  .why-strip-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .why-strip-inner { grid-template-columns: 1fr; }
}

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); }

/* --- SERVICES GRID (Home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card.featured { border-color: var(--primary); }
.service-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 1.5rem; color: var(--primary); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; flex-grow: 1; }
.service-card ul { margin-bottom: 22px; }
.service-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.service-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-link:hover { gap: 10px; }

.section-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* --- HOW IT WORKS --- */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
}
.step {
  text-align: center;
  max-width: 280px;
  flex: 1;
}
.step-number {
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }
.step-arrow {
  color: var(--primary);
  font-size: 1.4rem;
  padding-top: 14px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--gradient);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- FOOTER --- */
.footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #374151;
}
.footer .logo-text { color: #fff; }
.footer .accent { color: var(--primary); }
.footer-brand p { font-size: 0.88rem; color: #9ca3af; margin-top: 12px; line-height: 1.7; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links, .footer-services { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-services a { color: #9ca3af; font-size: 0.9rem; transition: color .2s; }
.footer-links a:hover, .footer-services a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.9rem; color: #9ca3af; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: #9ca3af; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: #6b7280; }
.footer-bottom a { color: #9ca3af; }
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); color: #fff; }

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  background: var(--gradient);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-intro { padding: 80px 0 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-visual-icon { font-size: 5rem; color: var(--primary); margin-bottom: 20px; }
.about-visual h3 { margin-bottom: 8px; }
.about-visual p { color: var(--text-muted); font-size: 0.92rem; }

.about-text .section-label { text-align: left; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.values-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.value-item h4 { margin-bottom: 2px; font-size: 0.95rem; }
.value-item p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

.team-section { padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.team-avatar {
  width: 80px; height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  color: var(--primary);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.87rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ================================================
   SERVICES PAGE
   ================================================ */
.services-detail { padding: 80px 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block-icon-wrap {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.service-block-icon-wrap i { font-size: 5rem; color: var(--primary); }

.service-block-text .section-label { text-align: left; }
.service-block-text h2 { margin-bottom: 14px; }
.service-block-text p { color: var(--text-muted); margin-bottom: 22px; }

.services-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.services-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--text);
}
.services-checklist li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; direction: ltr !important; }
  .service-block-icon-wrap { padding: 32px; }
  .service-block-icon-wrap i { font-size: 3.5rem; }
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.contact-item strong { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--primary); }

.contact-whatsapp-banner {
  background: #25d366;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: #fff;
}
.contact-whatsapp-banner i { font-size: 2rem; flex-shrink: 0; }
.contact-whatsapp-banner p { font-size: 0.9rem; opacity: .9; margin-top: 2px; }
.contact-whatsapp-banner a {
  margin-left: auto;
  background: #fff;
  color: #25d366;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.contact-whatsapp-banner a:hover { background: #f0fdf4; }

/* Contact form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

.form-success {
  display: none;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 8px;
  padding: 16px 20px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
