/* Vibrant Software Ltd — theme tokens matched to logo brand colors */
:root {
  --navy-900: #131a30;
  --navy-800: #1c2340;
  --navy-700: #2a3358;
  --navy-600: #3d4670;
  --blue-500: #1b8fd1;
  --blue-400: #2fa8de;
  --cyan-300: #6fe0f2;
  --grey-50: #f6f8fb;
  --grey-100: #eef1f6;
  --grey-300: #cfd6e4;
  --grey-500: #6b7488;
  --grey-700: #414a63;
  --white: #ffffff;
  --gradient-brand: linear-gradient(120deg, var(--blue-500) 0%, var(--blue-400) 55%, var(--cyan-300) 100%);
  --shadow-card: 0 10px 30px rgba(19, 26, 48, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; color: var(--navy-900); }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
p { margin: 0 0 16px; color: var(--grey-700); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.section { padding: 88px 0; }
.section-alt { background: var(--grey-50); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--grey-300); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(27, 143, 209, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(27, 143, 209, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-100);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 60px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--grey-100); }
.main-nav a.active { background: var(--navy-900); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 110px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(111,224,242,0.28), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(47,168,222,0.35), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(27,143,209,0.25), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; text-align: center; margin: 0 auto; }
.hero h1 { color: var(--white); }
.hero p.lead { color: var(--grey-300); font-size: 1.15rem; max-width: 640px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  padding: 64px 0;
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: var(--grey-300); margin: 0; }

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-100);
  height: 100%;
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.stat { text-align: center; }
.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--grey-500); font-size: 0.9rem; font-weight: 600; }

/* Clients / logos band */
.clients-band { padding: 48px 0; background: var(--grey-50); }
.clients-band .label { text-align: center; color: var(--grey-500); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 28px; }
.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.client-pill {
  padding: 12px 22px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy-700);
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.logo-tile {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(19,26,48,0.12); }
.logo-tile span {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--grey-500);
  text-align: center;
}
.logo-tile:hover span { color: var(--navy-800); }
.logo-tile svg,
.logo-tile img {
  height: auto;
  width: auto;
  max-height: 34px;
  max-width: 140px;
}
.logo-tile img.logo-tile--emblem {
  max-height: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-100);
}
.testimonial-card .quote { font-size: 1.05rem; font-style: italic; color: var(--navy-800); margin-bottom: 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial-card .author .name { font-weight: 700; color: var(--navy-900); }
.testimonial-card .author .role { font-size: 0.85rem; color: var(--grey-500); }

/* Team */
.team-card { text-align: center; }
.team-card .avatar-lg {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--blue-500); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; display: block; }

/* CTA band */
.cta-band {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 20% 20%, rgba(47,168,222,0.25), transparent 45%), radial-gradient(circle at 80% 80%, rgba(111,224,242,0.18), transparent 45%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--grey-300); max-width: 560px; margin: 0 auto 32px; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--grey-300); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--navy-700); }
input, textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-300);
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, textarea:focus { outline: 2px solid var(--blue-400); outline-offset: 1px; }
textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-card .row .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .row .txt strong { display: block; color: var(--white); }
.contact-info-card .row .txt span { color: var(--grey-300); font-size: 0.92rem; }

/* Chatbot widget */
#vibrant-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 24px rgba(27,143,209,0.45);
  cursor: pointer;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
#vibrant-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(19,26,48,0.28);
  z-index: 200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 460px;
}
#vibrant-chat-panel[hidden] { display: none; }
.chat-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.chat-header strong { font-size: 0.95rem; }
.chat-header span { display: block; font-size: 0.75rem; color: var(--grey-300); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--grey-50); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.4; }
.chat-msg.bot { background: var(--white); border: 1px solid var(--grey-100); align-self: flex-start; color: var(--navy-800); }
.chat-msg.user { background: var(--gradient-brand); color: var(--white); align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--grey-50); }
.chat-quick button {
  background: var(--white);
  border: 1px solid var(--grey-300);
  color: var(--navy-700);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
}
.chat-quick button:hover { border-color: var(--blue-400); color: var(--blue-500); }
.chat-input { display: flex; border-top: 1px solid var(--grey-100); }
.chat-input input { border: none; border-radius: 0; }
.chat-input button {
  background: var(--navy-900);
  color: var(--white);
  border: none;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow-card);
    padding: 12px;
  }
  .main-nav.open ul { flex-direction: column; }
  .main-nav.open a { display: block; }
  .nav-toggle { display: inline-flex; }
}
