/* ==========================================================================
   Hara InfoTech Pvt Ltd — site stylesheet
   Plain CSS, no framework. Brand color: purple rgb(77,10,164)
   ========================================================================== */

:root {
  --purple: #4D0AA4;
  --purple-dark: #38077B;
  --purple-darker: #28055A;
  --purple-light: #F3EEFA;
  --purple-tint: #ECE3F8;
  --ink: #1A1726;
  --ink-soft: #4A4558;
  --gray: #6B667A;
  --gray-light: #F7F6FA;
  --border: #E4DEF0;
  --white: #FFFFFF;
  --success: #1E7E45;
  --error: #B3261E;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(40, 5, 90, 0.08);
  --shadow-lg: 0 12px 32px rgba(40, 5, 90, 0.14);
  --max-width: 1180px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--purple);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }

ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 999;
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn--primary {
  background: var(--purple);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--purple-dark);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}
.btn--outline:hover {
  background: var(--purple-light);
  text-decoration: none;
}
.btn--white {
  background: var(--white);
  color: var(--purple);
}
.btn--white:hover { background: var(--purple-tint); text-decoration: none; }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand--footer .brand__logo { height: 34px; }
.brand__name {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__name-accent { color: var(--purple); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--purple); text-decoration: none; }
.primary-nav a.is-active {
  color: var(--purple);
  border-bottom-color: var(--purple);
  font-weight: 600;
}
.primary-nav__cta { margin-left: 6px; }
.primary-nav__cta a.btn--primary,
.primary-nav__cta a.btn--primary:hover {
  color: var(--white);
  border-bottom: none;
  padding: 9px 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--white) 60%);
  padding: 76px 0 70px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero__sub { font-size: 1.15rem; max-width: 540px; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 44px;
  max-width: 560px;
}
.hero__stat { border-left: 3px solid var(--purple); padding-left: 14px; }
.hero__stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.hero__stat span { font-size: 0.88rem; color: var(--gray); }

.hero__art {
  background: var(--purple);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero__art img { width: 100%; max-width: 220px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gray-light); }
.section--purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
}
.section--purple h2, .section--purple p { color: var(--white); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}
.card--elevated { box-shadow: var(--shadow); }
.card--lead {
  border: 2px solid var(--purple);
  position: relative;
}
.card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--purple);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.card ul.checklist { margin-top: 14px; }
.card ul.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.card ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple);
  font-weight: 700;
}
.card__link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

/* ---------- Client logos ---------- */
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.client-logo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.client-logo-card img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%);
}

/* ---------- Proof / VendorDesk ---------- */
.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--gray-light);
  border-radius: 20px;
  padding: 48px;
}
.proof__logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.proof__logo-chip span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); display: inline-block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--purple);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2, .cta-banner p { color: var(--white); }
.cta-banner p { opacity: 0.92; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Why choose us ---------- */
.why-grid { grid-template-columns: repeat(2, 1fr); }
.why-item { display: flex; gap: 18px; }
.why-item__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ---------- Tables / engagement models ---------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.engagement-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.engagement-table th, .engagement-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.engagement-table th {
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
}
.engagement-table tr:last-child td { border-bottom: none; }

/* ---------- Forms ---------- */
.radio-row { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 6px; }
.radio-row__option { display: flex; align-items: center; gap: 8px; font-weight: 500; width: auto; margin-bottom: 0; }
.radio-row__option input[type="radio"] { width: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.96rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-tint);
}
textarea { resize: vertical; min-height: 130px; }
.field-error { color: var(--error); font-size: 0.85rem; margin-top: 6px; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 500;
}
.alert--success { background: #E6F4EA; color: var(--success); border: 1px solid #BFE3CB; }
.alert--error { background: #FBEAE9; color: var(--error); border: 1px solid #F1C6C3; }

.contact-info-card {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card a { color: var(--white); font-weight: 600; }
.contact-info-item { margin-bottom: 22px; }
.contact-info-item span.label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-darker);
  color: #D8CDEE;
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer__brand .brand__name { color: var(--white); }
.footer__brand p { color: #C7B9E3; font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.footer__col h3 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer__col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer__col a { color: #D8CDEE; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: #C7B9E3; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 36px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; color: var(--ink-soft); }
.legal-updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 36px; }

/* ---------- Page header banner (Services/About/Contact) ---------- */
.page-banner {
  background: var(--purple-light);
  padding: 56px 0;
  text-align: center;
}
.page-banner p { max-width: 640px; margin: 0 auto; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; padding: 32px; }
  .grid--3, .grid--4, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr; padding: 32px; }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
  }
  .primary-nav li { border-bottom: 1px solid var(--border); }
  .primary-nav li:last-child { border-bottom: none; }
  .primary-nav a { display: block; padding: 14px 2px; }
  .primary-nav__cta { margin: 14px 0 0; }
  .primary-nav__cta a { display: inline-flex; }

  .grid--2, .grid--3, .grid--4, .why-grid, .form-grid { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
  .cta-banner, .proof { padding: 32px 24px; }
}
