/* ============================================================
   CloudSeals — design system
   Dual theme: dark navy (default) + white mode.
   Headings: Source Serif 4 · Body: Inter
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* ---------- tokens: DARK (default) ---------- */
:root {
  color-scheme: dark;

  --bg:        #071026;
  --bg-grad:
    radial-gradient(1100px 560px at 10% -10%, rgba(77,163,255,.16), transparent 62%),
    radial-gradient(900px 480px at 92% 2%,   rgba(168,85,247,.10), transparent 60%),
    linear-gradient(180deg, #071026 0%, #0B2149 46%, #071026 100%);

  --paper:     rgba(255,255,255,.055);
  --paper-2:   rgba(255,255,255,.03);
  --ink:       #EAF2FF;
  --body:      rgba(234,242,255,.74);
  --muted:     rgba(234,242,255,.55);
  --line:      rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);

  --blue:      #4DA3FF;
  --blue-d:    #2E86EE;
  --gold:      #EFC46B;
  --green:     #4FCF9D;

  --tint-blue:  rgba(77,163,255,.10);
  --tint-gold:  rgba(239,196,107,.10);
  --tint-green: rgba(79,207,157,.10);

  --header-bg: rgba(7,16,38,.72);
  --footer-bg: #050C1C;
  --frame-bg:  #0B1220;

  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.28);
  --shadow-lg: 0 28px 80px rgba(0,0,0,.45);

  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --r:     14px;
  --r-lg:  22px;
  --r-pill: 999px;
  --wrap:  1240px;
}

/* ---------- tokens: LIGHT (white mode) ---------- */
:root[data-theme="light"] {
  color-scheme: light;

  --bg:        #F4F6F9;
  --bg-grad:
    radial-gradient(1000px 520px at 8% -12%, rgba(30,107,241,.07), transparent 60%),
    linear-gradient(180deg, #F7F9FC 0%, #F4F6F9 100%);

  --paper:     #FFFFFF;
  --paper-2:   #FAFBFD;
  --ink:       #0F1F3A;
  --body:      #4E5F7A;
  --muted:     #7A8AA3;
  --line:      #E3E8EF;
  --line-soft: #EDF1F6;

  --blue:      #1E6BF1;
  --blue-d:    #1557C8;
  --gold:      #B5791A;
  --green:     #2E8B62;

  --tint-blue:  #EAF1FE;
  --tint-gold:  #FBEEDC;
  --tint-green: #E7F4EE;

  --header-bg: rgba(255,255,255,.88);
  --footer-bg: #0B2149;
  --frame-bg:  #0B1220;

  --shadow:    0 1px 2px rgba(11,33,73,.04), 0 8px 24px rgba(11,33,73,.06);
  --shadow-lg: 0 22px 64px rgba(11,33,73,.16);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-grad) var(--bg);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex: none;
}

.brand img { height: 44px; width: auto; display: block; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 14.5px;
}

.nav-links a {
  text-decoration: none;
  color: var(--body);
  padding: 8px 11px;
  border-radius: 9px;
  font-weight: 500;
  transition: color .18s ease, background .18s ease;
}

.nav-links a:hover { color: var(--ink); background: var(--tint-blue); }

.nav-links a.active { color: var(--ink); font-weight: 700; }

.nav-links a.nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.nav-links a.nav-cta:hover { background: var(--blue-d); color: #fff; }

/* theme toggle */
.theme-toggle {
  margin-left: 6px;
  width: 38px;
  height: 38px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, border-color .18s ease;
}

.theme-toggle:hover { border-color: var(--blue); background: var(--tint-blue); }
.theme-toggle svg { width: 17px; height: 17px; display: block; }
.theme-toggle .icon-sun  { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.tp-overlay,
.tp-modal,
.tp-backdrop {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.product-card {
  overflow: hidden;
}

.product-card .cs-product-visual {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  margin-bottom: 18px;
  background: transparent;
}

/* ---------- priority strip ---------- */

.priority-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}

.priority-strip__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.priority-strip__inner strong { color: var(--ink); }

.priority-strip__inner a {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--body);
  text-decoration: none;
}

.priority-strip__inner a:hover { border-color: var(--blue); color: var(--ink); }

/* ---------- layout ---------- */

.hero, .section, .visual, .footer-bottom {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.hero { padding-top: 76px; padding-bottom: 20px; }

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--tint-blue);
  color: var(--blue);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

h1, h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 20ch;
  margin: 22px 0 20px;
  font-size: clamp(38px, 5.2vw, 60px);
}

h2 {
  max-width: 26ch;
  margin: 0 0 16px;
  font-size: clamp(27px, 3.4vw, 40px);
}

h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ink);
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: var(--body);
  font-size: 18.5px;
  line-height: 1.62;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ---------- buttons ---------- */

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--blue);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow);
}

.button.primary:hover { background: var(--blue-d); color: #fff; }

.button.secondary { background: var(--paper); }
.button.secondary:hover { border-color: var(--blue); background: var(--tint-blue); }

/* ---------- framed visual ----------
   The approved PNGs have dark backgrounds baked in, so in white mode
   they sit inside a deliberate navy frame instead of clashing. */

.visual { margin-top: 32px; margin-bottom: 64px; }

.visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  background: var(--frame-bg);
}

:root[data-theme="light"] .visual img {
  padding: 14px;
  background: var(--frame-bg);
  border: 1px solid rgba(11,33,73,.18);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

:root:not([data-theme="light"]) .visual img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 80ch;
}

/* ---------- sections & cards ---------- */

.section { padding-top: 64px; padding-bottom: 64px; }
.section + .section { border-top: 1px solid var(--line-soft); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }

.card, .note {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.card p, .note p { margin: 0; color: var(--body); font-size: 15px; }

/* ---------- contact form ---------- */

.csConForm { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-top: 24px; }
.csConForm label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.csConForm input, .csConForm select, .csConForm textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink);
}
.csConForm textarea { min-height: 120px; resize: vertical; }
.csConGrid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.csPhoneRow { display: flex; gap: 8px; }
.csPhoneRow select { flex: 0 0 130px; }
.csConForm button[type="submit"] {
  align-self: flex-start; padding: 12px 26px; border: none; border-radius: var(--r-pill);
  background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .18s ease;
}
.csConForm button[type="submit"]:hover { background: var(--blue-d); }
.csConNote { font-size: 13px; color: var(--muted); margin: 0; }
#csConStatus { font-size: 14px; color: var(--blue); min-height: 1.2em; margin: 0; }

@media (max-width: 640px) {
  .csConGrid2 { grid-template-columns: 1fr; }
}

/* ---------- prerendered section outline ---------- */

.csOutline {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px;
}
.csOutline li {
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper-2); color: var(--ink); font-weight: 600; font-size: 14.5px;
}
@media (max-width: 640px) {
  .csOutline { grid-template-columns: 1fr; }
}

.card ul, .section ul { margin: 12px 0 0; padding-left: 20px; color: var(--body); }
.card li, .section li { margin-bottom: 6px; }

.note {
  border-color: var(--gold);
  background: var(--tint-gold);
  box-shadow: none;
}

.note.warning, .warning {
  border-color: var(--green);
  background: var(--tint-green);
}

/* ---------- FAQ ---------- */

.faq details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}

.faq details + details { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 700;
}

.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 12px 0 0; color: var(--body); font-size: 15px; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 72px;
  background: var(--footer-bg);
  border-top: 1px solid var(--line-soft);
  color: #fff;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0,1fr));
  gap: 40px;
}

.footer-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-tag {
  margin: 12px 0 12px;
  color: #9CC6FF;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.footer-brand p {
  margin: 0 0 16px;
  max-width: 34ch;
  color: rgba(255,255,255,.68);
  font-size: 14.5px;
}

.footer-contact {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.86);
  font-size: 14.5px;
  text-decoration: none;
}

.footer-contact:hover { color: #fff; text-decoration: underline; }

.footer-col h4 {
  margin: 4px 0 15px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}

.footer-col a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.76);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .16s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.52);
  font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; padding: 10px 18px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .hero, .section, .visual, .footer-bottom { padding-inline: 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 40px 18px 24px; }
  h1 { max-width: none; }
  h2 { max-width: none; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .brand img { height: 36px; }
  .brand { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Custom Industry Card Icon Colors */

/* Manufacturing (fa-building) */
.card1:has(.fa-building) i {
  color: #94A3B8 !important; /* Slate Gray (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-building) i {
  color: #475569 !important; /* Dark Slate (Light Mode) */
}

/* Insurance (fa-umbrella) */
.card1:has(.fa-umbrella) i {
  color: #38BDF8 !important; /* Light Sky Blue (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-umbrella) i {
  color: #0369A1 !important; /* Blue (Light Mode) */
}

/* Defence (fa-user-shield) */
.card1:has(.fa-user-shield) i {
  color: #818CF8 !important; /* Indigo (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-user-shield) i {
  color: #4338CA !important; /* Indogo (Light Mode) */
}

/* Agriculture (fa-wheat-awn) */
.card1:has(.fa-wheat-awn) i {
  color: #4FCF9D !important; /* Green (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-wheat-awn) i {
  color: #2E8B62 !important; /* Green (Light Mode) */
}

/* Education (fa-graduation-cap) */
.card1:has(.fa-graduation-cap) i {
  color: #F59E0B !important; /* Gold/Amber (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-graduation-cap) i {
  color: #B5791A !important; /* Gold/Amber (Light Mode) */
}

/* E-Commerce (fa-cart-shopping) */
.card1:has(.fa-cart-shopping) i {
  color: #FB923C !important; /* Orange (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-cart-shopping) i {
  color: #EA580C !important; /* Dark Orange (Light Mode) */
}

/* Finance & Banking (fa-piggy-bank) */
.card1:has(.fa-piggy-bank) i {
  color: #34D399 !important; /* Emerald/Teal (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-piggy-bank) i {
  color: #047857 !important; /* Emerald (Light Mode) */
}

/* Healthcare (fa-notes-medical) */
.card1:has(.fa-notes-medical) i {
  color: #2DD4BF !important; /* Teal (Dark Mode) */
}
:root[data-theme="light"] .card1:has(.fa-notes-medical) i {
  color: #0F766E !important; /* Dark Teal (Light Mode) */
}

/* Premium Tactile Interactions for Card1 */
.card1 {
  transition: transform .28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .28s ease, border .28s ease, background .28s ease !important;
}

/* Touch active state */
.card1:active {
  transform: translateY(-2px) scale(0.97) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.1s ease !important;
}

/* Individual Card Glows on Hover */
.card1:has(.fa-building):hover {
  border-color: rgba(148, 163, 184, 0.4) !important;
  box-shadow: 0 20px 45px rgba(148, 163, 184, 0.25) !important;
}
.card1:has(.fa-umbrella):hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.25) !important;
}
.card1:has(.fa-user-shield):hover {
  border-color: rgba(129, 140, 248, 0.4) !important;
  box-shadow: 0 20px 45px rgba(129, 140, 248, 0.25) !important;
}
.card1:has(.fa-wheat-awn):hover {
  border-color: rgba(79, 207, 157, 0.4) !important;
  box-shadow: 0 20px 45px rgba(79, 207, 157, 0.25) !important;
}
.card1:has(.fa-graduation-cap):hover {
  border-color: rgba(239, 196, 107, 0.4) !important;
  box-shadow: 0 20px 45px rgba(239, 196, 107, 0.25) !important;
}
.card1:has(.fa-cart-shopping):hover {
  border-color: rgba(251, 146, 60, 0.4) !important;
  box-shadow: 0 20px 45px rgba(251, 146, 60, 0.25) !important;
}
.card1:has(.fa-piggy-bank):hover {
  border-color: rgba(52, 211, 153, 0.4) !important;
  box-shadow: 0 20px 45px rgba(52, 211, 153, 0.25) !important;
}
.card1:has(.fa-notes-medical):hover {
  border-color: rgba(45, 212, 191, 0.4) !important;
  box-shadow: 0 20px 45px rgba(45, 212, 191, 0.25) !important;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg, #071026);
}
::-webkit-scrollbar-thumb {
  background: var(--line, rgba(255,255,255,.12));
  border-radius: 5px;
  border: 2px solid var(--bg, #071026);
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue, #4DA3FF);
}

/* Scroll Reveal CSS */
.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, opacity;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}



