/* ==========================================================================
   MOLHETHI INVESTMENT — MODERN MINIMAL DESIGN SYSTEM (CORAL & TEAL)
   ========================================================================== */

:root {
  /* Deep Teal Spectrum */
  --teal-900: #05242A;
  --teal-800: #0A3740;
  --teal-700: #0E4E5A;
  --teal-600: #0D6B7A;
  --teal-500: #0E8394;
  --teal-400: #17A2B8;
  --teal-200: #B8E4EA;
  --teal-100: #DDF1F4;
  --teal-50:  #F0F8FA;

  /* Punchy Coral Spectrum */
  --coral-600: #E2472F;
  --coral-500: #FF5A3D;
  --coral-400: #FF755E;
  --coral-300: #FFA191;
  --coral-100: #FFEAE6;
  --coral-50:  #FFF5F3;

  /* Clean Surfaces & Contrast */
  --bg-white: #FFFFFF;
  --bg-canvas: #F8FBFC;
  --surface-subtle: #F2F7F8;
  --text-dark: #071D22;
  --text-muted: #4B6368;
  --text-soft: #7C9499;
  --border-subtle: #E2ECEE;
  --border-medium: #C5D7DA;

  /* Typography & Structure */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 10px rgba(5, 36, 42, 0.04);
  --shadow-card: 0 14px 34px rgba(5, 36, 42, 0.07);
  --shadow-hover: 0 20px 40px rgba(5, 36, 42, 0.12);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-white);
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header & Sticky Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(5, 36, 42, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(5, 36, 42, 0.15);
  position: relative;
  transition: transform 0.25s var(--ease-smooth);
}

.brand-wrap:hover .brand-symbol {
  transform: scale(1.05);
}

.brand-symbol::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 2px #FFFFFF;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover {
  color: var(--teal-900);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--coral-500);
  transition: width 0.25s var(--ease-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-500);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(255, 90, 61, 0.28);
  transition: all 0.25s var(--ease-smooth);
}

.nav-cta-btn:hover {
  background: var(--coral-600);
  box-shadow: 0 6px 22px rgba(255, 90, 61, 0.42);
  transform: translateY(-2px);
}

/* Global Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-coral {
  background: var(--coral-500);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 90, 61, 0.3);
}

.btn-coral:hover {
  background: var(--coral-600);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 90, 61, 0.45);
}

.btn-ghost {
  border: 1px solid var(--border-medium);
  color: var(--teal-900);
  background: #FFFFFF;
}

.btn-ghost:hover {
  border-color: var(--teal-700);
  color: var(--teal-800);
  background: var(--teal-50);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 90% 10%, rgba(255, 90, 61, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 5% 90%, rgba(14, 131, 148, 0.09) 0%, transparent 50%),
              #FFFFFF;
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-800);
  margin-bottom: 24px;
}

.hero-pill-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-500);
}

h1.hero-headline {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--teal-900);
  margin-bottom: 22px;
  padding: 4px 0 6px;
}

h1.hero-headline .coral-text {
  color: var(--coral-500);
  display: inline-block;
}

.hero-description {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.metric-item p {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Side Commerce Console */
.commerce-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.commerce-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.commerce-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.commerce-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.active-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral-600);
}

.active-dot {
  width: 7px;
  height: 7px;
  background: var(--coral-500);
  border-radius: 50%;
}

.commerce-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.commerce-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.direct-contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.22s var(--ease-smooth);
}

.contact-tile:hover {
  background: #FFFFFF;
  border-color: var(--coral-500);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.tile-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  font-weight: 700;
}

.tile-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal-900);
}

/* Section Global Headers */
.section-wrap {
  padding: 92px 0;
}

.section-title-wrap {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--coral-500);
  border-radius: 2px;
}

h2.section-heading {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 16px;
  padding-bottom: 4px;
}

.section-subtitle {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Capabilities 4-Column Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s var(--ease-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-box:hover {
  border-color: var(--coral-400);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.service-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.service-number {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--coral-500);
  background: var(--coral-50);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--coral-100);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-smooth);
}

.service-box:hover .service-icon {
  transform: scale(1.1);
  background: var(--coral-50);
  color: var(--coral-500);
}

.service-box h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.service-features li {
  font-size: 13px;
  color: var(--teal-900);
  font-weight: 600;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--coral-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Operations & Context */
.operations-section {
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.operations-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 68px;
  align-items: center;
}

.operations-copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.edge-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edge-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s ease;
}

.edge-card:hover {
  transform: translateX(4px);
  border-color: var(--coral-300);
}

.edge-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.edge-card:nth-child(2) .edge-badge {
  background: var(--coral-50);
  color: var(--coral-600);
}

.edge-card:nth-child(3) .edge-badge {
  background: #EBF8FA;
  color: var(--teal-600);
}

.edge-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 4px;
}

.edge-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.channel-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-smooth);
}

.channel-box:hover {
  border-color: var(--coral-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.channel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-800);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-smooth);
}

.channel-box:hover .channel-icon-wrap {
  transform: scale(1.08);
}

.channel-box.wa-box .channel-icon-wrap {
  background: #25D366;
}

.channel-details {
  flex: 1;
}

.channel-type {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.channel-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-900);
  margin-top: 2px;
}

.channel-btn-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Inquiry Card Form */
.dispatch-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-card);
}

.dispatch-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 6px;
}

.dispatch-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-900);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-main);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.22s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--coral-500);
  box-shadow: 0 0 0 3px rgba(255, 90, 61, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-send-mail {
  flex: 1;
  background: var(--coral-500);
  color: #FFFFFF;
  border: none;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.btn-send-mail:hover {
  background: var(--coral-600);
  transform: translateY(-1px);
}

.btn-send-wa {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  color: var(--teal-800);
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.btn-send-wa:hover {
  background: var(--teal-800);
  color: #FFFFFF;
  border-color: var(--teal-800);
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: var(--teal-900);
  color: var(--teal-200);
  padding: 56px 0 36px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
}

.footer-symbol {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--coral-500);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
}

.footer-nav a {
  color: var(--teal-200);
}

.footer-nav a:hover {
  color: var(--coral-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--text-soft);
}

/* ==========================================================================
   ANIMATION & INTERACTION SYSTEM
   ========================================================================== */

/* Hero Load Fade-In */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: heroEntrance 0.8s var(--ease-smooth) forwards;
}

.hero-animate-delay {
  animation: heroEntrance 0.8s var(--ease-smooth) 0.15s forwards;
  opacity: 0;
}

/* Scroll Reveal Elements */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Children Delays */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }

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

@media (max-width: 960px) {
  .hero-grid, .operations-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 60px 0 64px;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  h1.hero-headline {
    font-size: 34px;
    line-height: 1.25;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .form-actions-row {
    flex-direction: column;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
