/* ===================================================================
   E-Sam Business Solutions — static stylesheet
   Deep navy + slate palette with a subtle blue accent.
   =================================================================== */
/* Add this to the top of styles.css to ensure hidden items stay completely hidden */
[hidden] { 
  display: none !important; 
}

/* --------------------------- Reset --------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  /* Deep navy */
  --navy-950: #000000;
  --navy-900: #000000;
  --navy-800: #000000;
  --navy-700: #000000;
  --navy-600: #000000;

  /* Slate neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;

  /* Blue accent */
  --accent-50: #FFF;
  --accent-100: #FFF;
  --accent-200: #FFF;
  --accent-400: #FFF;
  --accent-500: #000000;
  --accent-600: #FFF;

  --red-400: #f87171;
  --red-500: #ef4444;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;

  --nav-h: 4.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 30, 61, 0.08);
  --shadow-xl: 0 25px 50px -12px rgba(10, 20, 43, 0.25);
}

/* --------------------------- Reset --------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------- Layout --------------------------- */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 6rem; }
.section--light { background: var(--slate-50); }
.section--white { background: #fff; }
.section--navy { background: var(--navy-900); color: #fff; }

.section__head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow--light { color: var(--accent-400); }

.section__title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  font-weight: 700;
  text-wrap: balance;
}
.section__title--light { color: #fff; }

.section__sub {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--slate-600);
  text-wrap: pretty;
}
.section__sub--left { text-align: left; max-width: 34rem; }

/* --------------------------- Icons --------------------------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--check { width: 1rem; height: 1rem; }

/* --------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }

.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent-500);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-600); }
.btn--lg.btn--primary { box-shadow: 0 12px 24px rgba(59, 130, 246, 0.25); }
.btn--primary:hover .icon { transform: translateX(2px); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); }

/* --------------------------- Navbar --------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}
.brand__mark--accent { background: var(--accent-500); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s;
}
.brand__name--light { color: #fff; }
.brand__accent { color: var(--accent-400); font-weight: 400; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-200);
  transition: color 0.2s;
}
.nav__links > a:not(.btn):hover { color: var(--accent-400); }

/* Solid state once scrolled */
.nav.is-solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--slate-200);
}
.nav.is-solid .brand__name { color: var(--navy-900); }
.nav.is-solid .nav__links > a:not(.btn) { color: var(--slate-600); }
.nav.is-solid .nav__links > a:not(.btn):hover { color: var(--accent-500); }
.nav.is-solid .nav__toggle { color: var(--navy-900); }

.nav__toggle {
  display: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav__toggle .icon--close { display: none; }
.nav.is-open .nav__toggle .icon--menu { display: none; }
.nav.is-open .nav__toggle .icon--close { display: block; }
.nav.is-open .nav__toggle { color: var(--navy-900); }

.nav__mobile { background: #fff; border-top: 1px solid var(--slate-200); }
.nav__mobile-inner { display: flex; flex-direction: column; padding-block: 1rem; }
.nav__mobile-inner > a:not(.btn) {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 0.5rem;
}
.nav__mobile-inner > a:not(.btn):hover { background: var(--slate-50); }
.nav__mobile-inner > .btn { margin-top: 0.5rem; }

/* --------------------------- Hero --------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero__glow {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.25);
  filter: blur(80px);
}
.hero__inner {
  position: relative;
  text-align: center;
  padding-top: 9.5rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-200);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}
.badge .icon { width: 1rem; height: 1rem; color: var(--accent-400); }

.hero__title {
  margin-top: 1.75rem;
  max-width: 50rem;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  text-wrap: balance;
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--slate-300);
  text-wrap: pretty;
}
.hero__cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.stats {
  margin-top: 4rem;
  width: 100%;
  max-width: 48rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.stats__item {
  background: rgba(15, 30, 61, 0.6);
  padding: 1.5rem;
  text-align: center;
}
.stats__item dt {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}
.stats__item dd { margin-top: 0.25rem; font-size: 0.875rem; color: var(--slate-300); }

/* --------------------------- Cards --------------------------- */
.cards {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-200);
  box-shadow: var(--shadow-md);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  transition: background-color 0.3s;
}
.card:hover .card__icon { background: var(--accent-500); }
.card__title { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; }
.card__text { margin-top: 0.75rem; color: var(--slate-600); text-wrap: pretty; }

.features {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}
.features .icon--check { margin-top: 0.15rem; flex-shrink: 0; color: var(--accent-500); }

/* --------------------------- Why choose us --------------------------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why__intro { position: sticky; top: 7rem; }
.why__stat {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  border-radius: var(--radius-lg);
}
.why__stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-900);
}
.why__stat-label { font-size: 0.875rem; color: var(--slate-600); line-height: 1.4; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value { background: #fff; padding: 1.75rem; }
.value__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--accent-50);
  color: var(--accent-600);
  box-shadow: inset 0 0 0 1px var(--accent-100);
}
.value h3 { margin-top: 1rem; font-size: 1rem; font-weight: 600; }
.value p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--slate-600); }

/* --------------------------- Contact --------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__lead {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--slate-300);
  text-wrap: pretty;
}
.contact__details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact__details li { display: flex; align-items: center; gap: 1rem; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-400);
  flex-shrink: 0;
}
.contact__icon .icon { width: 1.25rem; height: 1.25rem; }
.contact__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}
.contact__value { font-weight: 500; color: #fff; }

.contact__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  color: var(--slate-700);
}

/* --------------------------- Form --------------------------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.field { display: flex; flex-direction: column; }
.field label {
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-900);
}
.field__optional { font-weight: 400; color: var(--slate-400); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: none; }
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-400); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px var(--accent-100);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--red-400); }
.field__error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red-500);
  min-height: 0;
}
.form__note { text-align: center; font-size: 0.75rem; color: var(--slate-400); }

/* Success state */
.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 18rem;
  height: 100%;
}
.success__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent-600);
  box-shadow: inset 0 0 0 1px var(--accent-100);
}
.success__icon .icon { width: 1.75rem; height: 1.75rem; }
.success h3 { margin-top: 1.25rem; font-size: 1.25rem; color: var(--navy-900); }
.success p { margin-top: 0.5rem; max-width: 20rem; font-size: 0.875rem; color: var(--slate-600); }
.link-btn {
  margin-top: 1.5rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-600);
  cursor: pointer;
}
.link-btn:hover { color: var(--accent-500); }

/* --------------------------- Footer --------------------------- */
.footer {
  background: var(--navy-950);
  color: var(--slate-400);
  border-top: 1px solid var(--navy-800);
  padding-block: 3.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand { max-width: 24rem; }
.footer__brand p { margin-top: 1rem; font-size: 0.875rem; }
.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.footer__col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.875rem; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { font-size: 0.875rem; }
.footer__contact span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
}
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: #fff; }
/* Update to the existing Navbar brand block */
.brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.brand__logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: 0.25rem;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s;
}
.brand__name--light { color: #fff; }
.brand__accent { color: var(--accent-400); font-weight: 400; }

/* ... (Keep all your other original CSS exactly as is) ... */

/* Add this entirely new block to the very bottom of styles.css */
/* --------------------------- WhatsApp Button --------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  color: white;
}
.whatsapp-btn svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}
/* --------------------------- Responsive --------------------------- */
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; gap: 3rem; }
  .why__intro { position: static; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding-block: 4rem; }
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .cards { grid-template-columns: 1fr; }
  .section__sub--left { max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
}

@media (min-width: 769px) {
  .nav__mobile { display: none !important; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
