/* ==========================================================================
   ARSHIA HOLDING — Design System
   Signature motif: the "arch" from the logo, reused as a recurring shape
   (arch-top image crops, arch section dividers) so the brand identity
   carries through the whole site, not just the header logo.
   ========================================================================== */

:root {
  --navy: #0B3D5C;
  --navy-deep: #082B41;
  --teal: #1B7A6E;
  --gold: #C89B3C;
  --slate: #5A6B72;
  --slate-light: #8CA0A8;
  --off-white: #F7F8F8;
  --tint: #EDF3F5;
  --white: #FFFFFF;
  --line: #DCE4E7;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius-arch: 200px 200px 10px 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.lede {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #B78A2E; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Header */
.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(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.logo-mark { height: 42px; }
.main-nav { display: flex; align-items: center; }
.main-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--navy-deep);
  position: relative; padding: 4px 0; margin-right: 34px;
}
.main-nav a:last-child { margin-right: 0; }
.main-nav a.active, .main-nav a:hover { color: var(--teal); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold);
}
.lang-switch {
  display: flex; align-items: center; gap: 6px; font-size: 0.85rem;
  color: var(--slate); border-left: 1px solid var(--line); padding-left: 20px; margin-left: 4px;
}
.lang-switch span.active { color: var(--navy); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* Arch divider — signature shape, used between sections */
.arch-divider {
  width: 100%; height: 64px; overflow: hidden; position: relative;
}
.arch-divider svg { width: 100%; height: 100%; display: block; }

/* Section spacing */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lede { color: #C9D6DC; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grid utilities (flexbox-based for broad rendering compatibility) */
.grid { display: flex; flex-wrap: wrap; gap: 28px; }
.grid-3 > * { flex: 1 1 calc(33.333% - 19px); min-width: 260px; }
.grid-4 > * { flex: 1 1 calc(25% - 21px); min-width: 220px; }
.grid-2 > * { flex: 1 1 calc(50% - 14px); min-width: 280px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 16px 32px rgba(11,61,92,0.08); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--tint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--teal); }

/* Arch image crop — the signature visual motif */
.arch-crop {
  border-radius: var(--radius-arch);
  overflow: hidden;
  background: var(--tint);
}
.arch-crop img { width: 100%; height: 100%; object-fit: cover; }

/* Stat row */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-row > div { flex: 0 0 auto; min-width: 130px; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; }
.section-navy .stat-label { color: #9FB4BC; }

/* Product / application cards */
.app-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 230px;
  display: flex; align-items: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, rgba(11,61,92,0.15) 0%, rgba(8,43,65,0.88) 100%), var(--navy);
  cursor: pointer;
}
.app-card h3 { color: var(--white); margin-bottom: 6px; }
.app-card p { color: #C9D6DC; font-size: 0.86rem; }
.app-card .tag {
  position: absolute; top: 18px; left: 18px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--gold); padding: 4px 10px; border-radius: 4px;
  font-weight: 700;
}

/* Filter pills */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 9px 20px; border-radius: 30px; border: 1.5px solid var(--line);
  font-size: 0.86rem; font-weight: 500; color: var(--slate); cursor: pointer;
  background: var(--white); transition: all 0.15s ease;
}
.filter-pill.active, .filter-pill:hover { border-color: var(--teal); color: var(--teal); background: var(--tint); }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--navy-deep); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.form-row > .form-field { flex: 1 1 220px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D6DC; padding: 72px 0 28px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 56px; }
.footer-grid > div:nth-child(1) { flex: 1.6 1 260px; }
.footer-grid > div:nth-child(2) { flex: 1 1 140px; }
.footer-grid > div:nth-child(3) { flex: 1 1 160px; }
.footer-grid > div:nth-child(4) { flex: 1.2 1 220px; }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { font-size: 0.9rem; color: #9FB4BC; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo { height: 34px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: #7E93 9C;
}
.newsletter-form { display: flex; gap: 10px; margin-top: 10px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: var(--white); font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: #7E939C; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}
.whatsapp-fab svg { width: 28px; height: 28px; fill: var(--white); }

/* Breadcrumb / page header banner */
.page-banner {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-banner .eyebrow { color: #7FC9BC; }
.page-banner h1 { color: var(--white); }
.page-banner p { color: #C9D6DC; margin-top: 10px; max-width: 560px; }

/* Responsive */
@media (max-width: 980px) {
  .grid-2 > * { flex: 1 1 100%; }
  .main-nav { display: none; }
}
@media (max-width: 640px) {
  .grid-4 > *, .grid-3 > * { flex: 1 1 100%; }
  .stat-row { gap: 30px; }
  .form-row > .form-field { flex: 1 1 100%; }
  .section { padding: 56px 0; }
}
