/* ===== AitecX Shared Style ===== */
:root {
  --navy: #062b55;
  --navy-2: #0b3b75;
  --blue: #0b70b7;
  --accent: #e11d48;
  --gold: #d6a63f;
  --text: #1f2937;
  --muted: #5b6472;
  --bg: #f7fafc;
  --card: #ffffff;
  --line: #dbe4ee;
  --shadow: 0 14px 34px rgba(6, 43, 85, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

header {
  background: linear-gradient(135deg, #05264a, #0b70b7);
  color: white;
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.logo h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: .4px;
}

.logo a {
  color: white;
  text-decoration: none;
}

.logo p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: .92;
}

.lang-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-buttons button {
  background: rgba(255, 255, 255, .92);
  color: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, .45);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.lang-buttons button.active {
  background: var(--gold);
  color: #102033;
}

nav {
  background: rgba(6, 43, 85, .98);
  padding: 12px 7%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 0;
  opacity: .92;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  opacity: 1;
  border-bottom-color: var(--gold);
}

.hero {
  color: white;
  padding: 98px 7%;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.18;
  margin: 0 0 18px;
}

.hero p {
  max-width: 900px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.hero .eyebrow {
  color: #ffe7a3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  margin: 6px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(225, 29, 72, .22);
}

.btn:hover {
  opacity: .95;
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(11, 112, 183, .18);
}

.btn.light {
  background: white;
  color: var(--navy-2);
  box-shadow: none;
}

section {
  padding: 72px 7%;
}

section h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy-2);
  margin: 0 0 28px;
}

.section-lead {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
}

.highlight {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.grid,
.services,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card,
.panel,
.about,
.contact,
form,
.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  border: 1px solid rgba(219, 228, 238, .6);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(6, 43, 85, .15);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
}

.card h3,
.panel h3 {
  color: var(--blue);
  margin-top: 0;
  font-size: 22px;
  line-height: 1.3;
}

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.panel,
.about,
.contact {
  padding: 28px;
}

.about,
.contact {
  max-width: 980px;
  margin: 0 auto;
}

.stat-card {
  padding: 28px;
  text-align: center;
  border-top: 5px solid var(--gold);
}

.stat-card strong {
  display: block;
  color: var(--navy-2);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
}

.process {
  counter-reset: step;
  max-width: 980px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 22px 22px 22px 74px;
  margin-bottom: 16px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(6, 43, 85, .07);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
}

.inventory-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0;
}

.inventory-tools input,
.inventory-tools select {
  max-width: 260px;
  margin-top: 0;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.inv-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(6, 43, 85, .08);
  padding: 20px;
  border-top: 5px solid var(--blue);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e0f2fe;
  color: #075985;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.price {
  font-size: 22px;
  color: var(--accent);
  font-weight: bold;
  margin: 10px 0;
}

.cta-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin: 22px auto;
  max-width: 820px;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-2);
}

form {
  padding: 28px;
  max-width: 820px;
  margin: 0 auto;
}

label {
  display: block;
  font-weight: 700;
  margin-top: 14px;
  color: #374151;
}

label small.optional {
  color: #64748b;
  font-size: .82em;
  margin-left: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  margin-top: 6px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: white;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.status {
  margin-top: 12px;
  font-weight: 700;
}

.faq details {
  background: white;
  margin: 0 auto 12px;
  max-width: 980px;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(6, 43, 85, .06);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-2);
}

.cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
}

footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 26px;
  font-size: 14px;
}

.ja {
  display: none;
}

@media (max-width: 820px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }

  nav {
    gap: 2px 16px;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    padding: 72px 7%;
    min-height: 390px;
  }

  section {
    padding: 56px 7%;
  }

  .card img {
    height: 170px;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
/* Sinhala language support */
.si {
  display: none;
}

.lang-buttons button {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .lang-buttons button {
    padding: 7px 10px;
    font-size: 12px;
  }
}
