/* ============================================
   NEXUSDATUM — GLOBAL STYLESHEET
   Replace [YOUR-LOGO], [YOUR-EMAIL], etc.
   Font stack: DM Sans (body) + Syne (headings)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --navy:       #040F2D;
  --blue:       #1565C0;
  --cyan:       #00AEEF;
  --white:      #FFFFFF;
  --subtle:     #F0F6FF;
  --border:     #DDE9F8;
  --gray:       #8899AA;
  --text:       #040F2D;
  --body-text:  #5A7090;

  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  18px;
  --radius-pill:100px;

  --shadow-card: 0 2px 16px rgba(4,15,45,0.08);
  --shadow-hover:0 8px 32px rgba(4,15,45,0.14);

  --section-pad: 80px 48px;
  --section-pad-sm: 48px 24px;
}

/* ── BASE ── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.5px; }
h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 600; }
p  { font-size: 15.5px; font-weight: 300; color: var(--body-text); line-height: 1.75; }

/* ── SECTION TAG ── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary   { background: var(--cyan);  color: var(--white); }
.btn-primary:hover { background: #0098d4; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,174,239,0.35); }
.btn-dark      { background: var(--blue);  color: var(--white); }
.btn-dark:hover { background: #0d52a0; }
.btn-outline   { background: transparent; color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.22); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-ghost     { background: transparent; color: var(--cyan); padding-left: 0; }
.btn-ghost:hover { gap: 12px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 48px; }

/* ── PILL BADGE ── */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  background: rgba(0,174,239,0.08);
  border: 1px solid rgba(0,174,239,0.22);
  color: var(--cyan);
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(0,174,239,0.15);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 32px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.nav-logo-text span { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.nav-cta {
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
  margin-left: 16px;
}
.nav-cta:hover { background: #0098d4; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* ══════════════════════════════════════
   HERO (DARK)
══════════════════════════════════════ */
.hero {
  background: var(--navy);
  padding: 96px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.18) 0%, transparent 70%);
  top: -150px; right: -120px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,0.1) 0%, transparent 70%);
  bottom: -80px; left: 28%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.28);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 11.5px;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 22px; letter-spacing: -1.5px; }
.hero h1 span { color: var(--cyan); }
.hero p { color: rgba(255,255,255,0.58); max-width: 520px; font-size: 17px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-val { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--white); }
.stat-val span { color: var(--cyan); }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.42); margin-top: 2px; font-weight: 400; }

/* ══════════════════════════════════════
   PAGE HERO (shorter, for inner pages)
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.15) 0%, transparent 70%);
  top: -100px; right: -60px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.page-hero h1 { color: var(--white); max-width: 700px; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.58); max-width: 580px; font-size: 16.5px; }

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar {
  background: var(--subtle);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.trust-logos { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.trust-logo  { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #B0BEC5; letter-spacing: 0.5px; }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section { padding: var(--section-pad); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-dark  { background: var(--navy); }
.section-light { background: var(--subtle); }
.section-white { background: var(--white); }
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 10px; }

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.card-icon {
  width: 44px; height: 44px;
  background: var(--subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p  { font-size: 13.5px; }
.card-tag { display: inline-block; margin-top: 14px; font-size: 11.5px; color: var(--cyan); font-weight: 500; }

/* Dark cards (industries) */
.card-dark {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}
.card-dark:hover { background: rgba(21,101,192,0.1); border-color: rgba(0,174,239,0.4); }
.card-dark h3 { color: var(--white); font-size: 15px; margin-bottom: 8px; }
.card-dark p  { color: rgba(255,255,255,0.46); font-size: 13px; }
.card-dark-icon { font-size: 28px; margin-bottom: 16px; display: block; }

/* Work/case study cards */
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: var(--shadow-hover); }
.work-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.work-metrics { display: flex; gap: 24px; }
.metric-val { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--white); }
.metric-lbl { font-size: 11px; color: rgba(255,255,255,0.52); margin-top: 2px; }
.work-body { padding: 20px 22px; }
.work-industry { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.work-body h3 { font-size: 15.5px; margin-bottom: 6px; }
.work-body p  { font-size: 13px; }

/* ══════════════════════════════════════
   TWO-COLUMN LAYOUTS
══════════════════════════════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-form { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ══════════════════════════════════════
   SERVICE DETAIL SECTIONS
══════════════════════════════════════ */
.service-section { padding: 72px 48px; }
.service-section .service-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.service-section.alt .service-inner { direction: rtl; }
.service-section.alt .service-inner > * { direction: ltr; }
.service-icon-lg { width: 60px; height: 60px; background: var(--subtle); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.service-section h2 { margin-bottom: 16px; }
.service-section p  { margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--cyan); font-weight: 700; font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.service-visual { background: var(--navy); border-radius: var(--radius-xl); padding: 36px; }

/* ══════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 11.5px; font-weight: 500; color: var(--gray); margin-bottom: 6px; letter-spacing: 0.4px; text-transform: uppercase; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--subtle);
  border: 1px solid #C8DEFA;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--cyan); }
.form-field textarea { height: 100px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 8px;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--cyan); }

/* ══════════════════════════════════════
   CONTACT INFO
══════════════════════════════════════ */
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-ico { width: 42px; height: 42px; background: var(--subtle); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-lbl { font-size: 11.5px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; margin-bottom: 3px; }
.contact-val { font-size: 14px; color: var(--text); }
.contact-val a { color: var(--cyan); }

/* ══════════════════════════════════════
   ACCORDION (FAQ)
══════════════════════════════════════ */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; }
.accordion-head {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: background 0.15s;
  user-select: none;
}
.accordion-head:hover { background: var(--subtle); }
.accordion-icon { font-size: 18px; color: var(--cyan); transition: transform 0.25s; }
.accordion.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--white); }
.accordion.open .accordion-body { max-height: 300px; }
.accordion-body p { padding: 0 20px 18px; font-size: 14.5px; color: var(--body-text); }

/* ══════════════════════════════════════
   ABOUT TEAM CARD
══════════════════════════════════════ */
.team-visual { background: var(--navy); border-radius: var(--radius-xl); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.team-row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 14px 16px; border: 1px solid rgba(255,255,255,0.08); }
.team-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; color: var(--white); }
.av-blue  { background: var(--blue); }
.av-cyan  { background: var(--cyan); }
.av-dark  { background: #0A2463; border: 1px solid rgba(0,174,239,0.4); }
.team-name { font-size: 13px; font-weight: 500; color: var(--white); }
.team-role { font-size: 11px; color: rgba(255,255,255,0.42); margin-top: 2px; }
.team-badge { margin-left: auto; background: rgba(0,174,239,0.1); border: 1px solid rgba(0,174,239,0.2); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 11px; color: var(--cyan); white-space: nowrap; }
.cert-bar { margin-top: 16px; padding: 16px; background: rgba(0,174,239,0.05); border: 1px solid rgba(0,174,239,0.15); border-radius: var(--radius-md); }
.cert-bar-label { font-size: 11.5px; color: rgba(255,255,255,0.38); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.cert-pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   STATS ROW
══════════════════════════════════════ */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 32px; }
.stat-box .stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--text); }
.stat-box .stat-num span { color: var(--cyan); }
.stat-box .stat-lbl { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.cta-banner { background: var(--navy); padding: 80px 48px; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.58); max-width: 500px; margin: 0 auto 36px; font-size: 16px; }
.cta-banner-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img { height: 44px; width: auto; }
.footer-logo-text { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--white); }
.footer-logo-text span { color: var(--cyan); }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.32); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12.5px; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); }

/* ══════════════════════════════════════
   INDUSTRY PAGE DETAIL
══════════════════════════════════════ */
.industry-detail { padding: 72px 48px; }
.industry-detail-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.industry-detail.alt .industry-detail-inner { direction: rtl; }
.industry-detail.alt .industry-detail-inner > * { direction: ltr; }
.industry-tag-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(0,174,239,0.08); border: 1px solid rgba(0,174,239,0.22); font-size: 12px; font-weight: 600; color: var(--cyan); letter-spacing: 0.5px; margin-bottom: 16px; }
.problems-box { background: var(--subtle); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.problems-box h4 { font-size: 13px; font-weight: 600; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.problems-box ul { display: flex; flex-direction: column; gap: 10px; }
.problems-box li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body-text); }
.problems-box li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.approach-box { background: var(--navy); border-radius: var(--radius-lg); padding: 28px; }
.approach-box h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.approach-box ul { display: flex; flex-direction: column; gap: 10px; }
.approach-box li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.approach-box li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 64px 32px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-form, .service-section .service-inner, .industry-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-section.alt .service-inner, .industry-detail.alt .industry-detail-inner { direction: ltr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px 32px; border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 100; gap: 18px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 48px 20px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .nav { padding: 0 20px; }
  .hero { padding: 64px 20px 56px; }
  .hero-stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { padding: 16px 20px; }
  .divider { margin: 0 20px; }
  .footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .cta-banner { padding: 56px 20px; }
  .service-section, .industry-detail { padding: 48px 20px; }
}

/* ── US update: 4-col stats grid responsive ── */
@media (max-width: 768px) {
  .section-inner > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
