/* ===========================
   Haritha IT Services — styles
   =========================== */

:root {
  --navy-900: #0b2545;
  --navy-800: #12335c;
  --navy-700: #1a4372;
  --teal-600: #0e7c86;
  --teal-500: #14919b;
  --teal-300: #5eead4;
  --ink: #1c2b3a;
  --ink-soft: #48586b;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --bg-navy-soft: #0e2a4d;
  --white: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06), 0 1px 1px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 37, 69, 0.16);
  --container: 1160px;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--navy-900); }
p { margin: 0; }
section { position: relative; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal-500);
  display: inline-block;
}

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-600); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy-900);
}
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-600); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(11, 37, 69, 0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 860px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 10px 24px 22px;
  z-index: 490;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-menu .btn { margin-top: 14px; }
@media (min-width: 860px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 96px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(20, 145, 155, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 78%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
}
.hero-copy .accent { color: var(--teal-600); }
.hero-copy p.lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-cta-row .btn-outline { border-color: var(--line); color: var(--navy-900); }
.hero-cta-row .btn-outline:hover { border-color: var(--teal-500); background: var(--bg-soft); }

.hero-trust {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--navy-900);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 200px at 100% 0%, rgba(20,145,155,0.35), transparent 60%);
}
.hero-card-inner { position: relative; }
.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-card-row:last-of-type { border-bottom: none; }
.hero-card-label { font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-card-value { font-size: 14.5px; font-weight: 700; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(94, 234, 212, 0.16);
  color: var(--teal-300);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-300); }
.hero-card-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.hero-badge {
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(20,145,155,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-size: 14px; color: var(--navy-900); }
.hero-badge span { font-size: 12px; color: var(--ink-soft); }

/* ---------- Logo / partner strip ---------- */
.strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  text-align: center;
}
.strip-item {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ---------- About ---------- */
.about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; } }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-top: 16px; }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 34px); }

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
@media (max-width: 560px) { .about-points { grid-template-columns: 1fr; } }
.about-point {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.about-point .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--teal-600);
  margin-bottom: 6px;
}
.about-point h4 { font-size: 15px; margin-bottom: 4px; }
.about-point p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { padding: 100px 0; background: var(--bg-soft); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20,145,155,0.35);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Process ---------- */
.process { padding: 100px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 8px; }
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}
.process-step h4 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Why us ---------- */
.why { padding: 100px 0; background: var(--navy-900); color: var(--white); }
.why .section-head h2 { color: var(--white); }
.why .section-head p { color: rgba(255,255,255,0.68); }
.why .eyebrow { color: var(--teal-300); }
.why .eyebrow::before { background: var(--teal-300); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.why-card-icon { color: var(--teal-300); margin-bottom: 16px; }
.why-card-icon svg { width: 24px; height: 24px; }
.why-card h4 { color: var(--white); font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.68); }

/* ---------- Employers CTA ---------- */
.employers { padding: 88px 0; }
.employers-box {
  background: linear-gradient(120deg, var(--bg-soft), var(--white));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 860px) { .employers-box { grid-template-columns: 1.3fr 0.7fr; padding: 56px 60px; } }
.employers-box h2 { font-size: clamp(24px, 2.8vw, 30px); }
.employers-box p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; max-width: 520px; }
.employers-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 18px;
  padding: 40px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.contact-info-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(255,255,255,0.68); font-size: 14.5px; margin-bottom: 30px; }
.contact-info-row {
  display: flex;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info-row:first-of-type { border-top: none; }
.contact-info-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(20,145,155,0.18);
  color: var(--teal-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-row strong { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); font-weight: 600; margin-bottom: 3px; }
.contact-info-row span, .contact-info-row a { font-size: 15px; font-weight: 600; }
.contact-social { display: flex; gap: 10px; margin-top: auto; padding-top: 30px; }
.contact-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.contact-social a:hover { background: rgba(20,145,155,0.35); }
.contact-social svg { width: 16px; height: 16px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20,145,155,0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(20,145,155,0.1);
  border: 1px solid rgba(20,145,155,0.3);
  color: var(--teal-600);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #081b33; color: rgba(255,255,255,0.72); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand-name { font-weight: 800; font-size: 17px; color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 400;
  cursor: pointer;
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-600); }
.back-to-top svg { width: 18px; height: 18px; }
