/* ═══════════════════════════════════════════════════
   TRIONTECH — GLOBAL STYLESHEET
   Premium MSP website — KZN, South Africa
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   FONTS — SELF-HOSTED (no CDN, no external requests)
   Poppins TTF files served from /assets/fonts/
═══════════════════════════════════════════ */

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────── */
:root {
  --navy:       #0F2237;
  --navy-mid:   #162E47;
  --navy-light: #1E3D5C;
  --cyan:       #00C8E8;
  --cyan-dim:   #0097AE;
  --cyan-glow:  rgba(0,200,232,0.15);
  --red:        #E03A2F;
  --white:      #FFFFFF;
  --off-white:  #F4F7FA;
  --text:       #1A2E40;
  --text-mid:   #4A6880;
  --text-light: #7A9BB5;
  --border:     rgba(0,200,232,0.15);
  --border-mid: rgba(255,255,255,0.08);
  --shadow:     0 4px 32px rgba(0,0,0,0.18);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.28);
  --radius:     8px;
  --radius-lg:  16px;
  --font-head:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:      72px;
  --max-w:      1200px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-stretch: normal;
}

/* Poppins heading defaults */
h1, h2, h3, h4, h5, h6,
.section-title, .card-title,
.hero h1, .page-hero h1 {
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SVG global guard — prevents uncontained SVGs expanding ── */
svg {
  overflow: hidden;
  vertical-align: middle;
}
.nav-logo-icon svg,
.svc-icon-wrap svg,
.card-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block;
  flex-shrink: 0;
}

/* ── Container ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(15,34,55,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-mid);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 20px; height: 20px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-logo-text span { color: var(--cyan); }
.nav-logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: -2px;
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--cyan); background: var(--cyan-glow); }
.nav-link.active { color: var(--cyan); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.15s;
}
.nav-dropdown a:hover {
  background: var(--cyan-glow);
  color: var(--cyan);
}
.nav-dropdown a .dd-icon {
  width: 28px;
  height: 28px;
  background: rgba(0,200,232,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.nav-dropdown-section {
  padding: 4px 8px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta-phone {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta-phone:hover { color: var(--cyan); }
.btn-nav {
  padding: 9px 20px;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,200,232,0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--border-mid);
}
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 16px 0 6px;
}
.nav-mobile .btn-nav {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px;
}

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,232,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ══════════════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-mid { background: var(--off-white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.text-center .section-label { justify-content: center; }

/* ══════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid #E2EAF2;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 40px rgba(0,200,232,0.12);
  transform: translateY(-4px);
}
.card-dark {
  background: var(--navy-mid);
  border-color: var(--border-mid);
}
.card-dark:hover {
  border-color: var(--cyan);
  background: var(--navy-light);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,200,232,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.card:hover .card-icon {
  background: var(--cyan);
  border-color: var(--cyan);
}
.card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
}
.card-dark .card-title { color: var(--white); }
.card-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}
.card-dark .card-text { color: rgba(255,255,255,0.55); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

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

/* ══════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border-mid);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 42px;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 80% 50%, rgba(0,200,232,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(0,200,232,0.04) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,232,0.1);
  border: 1px solid rgba(0,200,232,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.page-hero h1 span { color: var(--cyan); }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 70% 50%, rgba(0,200,232,0.08) 0%, transparent 70%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band-text .section-title { margin-bottom: 8px; font-size: clamp(24px, 3vw, 36px); }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: #080F18;
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-mid);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--cyan);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--cyan); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.footer-contact-item span { color: var(--cyan); font-size: 14px; }

/* ══════════════════════════════════════════════════
   FEATURE LIST
══════════════════════════════════════════════════ */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid #E2EAF2;
  transition: all 0.2s;
}
.feature-item:hover {
  border-color: var(--cyan);
  background: var(--white);
}
.feature-item-dark {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-mid);
}
.feature-item-dark:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
}
.feature-check {
  width: 24px;
  height: 24px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,200,232,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--cyan);
  margin-top: 1px;
}
.feature-text strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.feature-text span { font-size: 13px; color: var(--text-mid); }
.feature-item-dark .feature-text strong { color: var(--white); }
.feature-item-dark .feature-text span { color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════════════
   BADGE / TAG
══════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-cyan { background: var(--cyan-glow); color: var(--cyan); border: 1px solid rgba(0,200,232,0.2); }
.badge-red  { background: rgba(224,58,47,0.1); color: var(--red); border: 1px solid rgba(224,58,47,0.2); }

/* ══════════════════════════════════════════════════
   DECORATIVE
══════════════════════════════════════════════════ */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
  margin: 0;
}
.dot-grid {
  background-image: radial-gradient(rgba(0,200,232,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.animate-up { animation: fadeUp 0.6s ease both; }
.animate-up-2 { animation: fadeUp 0.6s 0.1s ease both; }
.animate-up-3 { animation: fadeUp 0.6s 0.2s ease both; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-mid); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-mid); padding: 20px 0; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — COMPREHENSIVE MOBILE FIX
══════════════════════════════════════════════════ */

/* Two-column content grid used on all inner pages */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Feature list (service pages — left/right split) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-check {
  width: 28px; height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,200,232,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 12px;
  flex-shrink: 0;
}
.feature-item-dark .feature-check {
  background: rgba(0,200,232,0.1);
}
.feature-text {
  display: flex; flex-direction: column; gap: 3px;
}
.feature-text strong {
  font-size: 15px; font-weight: 600; color: var(--text);
  display: block;
}
.feature-item-dark .feature-text strong { color: var(--white); }
.feature-text span {
  font-size: 13px; color: var(--text-mid); line-height: 1.6;
}
.feature-item-dark .feature-text span { color: rgba(255,255,255,0.5); }

@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-info-card {
    position: static !important;
  }
  .focus-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .services-index-grid {
    grid-template-columns: 1fr !important;
  }
  .si-card[style*="span 2"],
  .ind-index-card.featured {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
  }
  .ind-index-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .about-values-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  /* Core layout */
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .page-hero { padding: calc(var(--nav-h) + 32px) 0 32px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }

  /* All grids → single column */
  .two-col-grid,
  .grid-2, .grid-3, .grid-4,
  .focus-grid,
  .services-index-grid,
  .ind-index-grid,
  .about-values-grid,
  .about-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Cards */
  .card { padding: 24px 20px; }
  .si-card { padding: 24px 20px; }

  /* Section text */
  .section-title { font-size: clamp(22px, 6vw, 36px); }
  .section-subtitle { font-size: 14px; }

  /* CTA band */
  .cta-band-inner { gap: 24px; }
  .cta-band-inner .btn { width: 100%; justify-content: center; }

  /* Buttons stacked */
  .page-hero-content > div,
  .page-hero-content > div[style*="flex"] {
    flex-direction: column !important;
  }
  .page-hero-content .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats bar */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
  }
  .stat-number { font-size: 32px; }

  /* Industry featured card */
  .ind-index-card.featured {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
  }

  /* Zoho contact form */
  .zoho-body { padding: 20px 16px; }
  .zoho-header { padding: 20px 16px; }
  #zohoSupportWebToCase td:first-child {
    width: 100% !important;
    display: block;
    padding-bottom: 4px !important;
  }
  #zohoSupportWebToCase td { display: block; width: 100% !important; }
  #zohoSupportWebToCase table { display: block; }
  #zohoSupportWebToCase tr { display: block; margin-bottom: 12px; }
  #zohoSupportWebToCase input[type='text'],
  #zohoSupportWebToCase textarea,
  #zohoSupportWebToCase select {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .footer-brand p { font-size: 13px; }
}


/* ══════════════════════════════════════════════════
   CONTACT FORM (Zoho)
══════════════════════════════════════════════════ */
.zoho-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
#zohoSupportWebToCase textarea,
#zohoSupportWebToCase input[type='text'],
#zohoSupportWebToCase select {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1.5px solid #E2EAF2 !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  color: var(--text) !important;
  background: var(--off-white) !important;
  transition: border-color 0.2s !important;
}
#zohoSupportWebToCase input[type='text']:focus,
#zohoSupportWebToCase textarea:focus {
  border-color: var(--cyan) !important;
  outline: none !important;
  background: var(--white) !important;
}
#zohoSupportWebToCase td { padding: 8px 0 !important; }
#zohoSupportWebToCase table { width: 100% !important; }
.zsFormClass { width: 100% !important; background: transparent !important; }
#zsSubmitButton_1107653000000740001 {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
#zsSubmitButton_1107653000000740001:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}


/* ── WhatsApp Float Button ─────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.wa-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.wa-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.wa-float a:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-float i { font-size: 20px; }
@media (max-width: 768px) {
  .wa-float { bottom: 16px; right: 16px; }
  .wa-float a span { display: none; }
  .wa-float a {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
  }
  .wa-float i { font-size: 24px; }
}

/* ── Testimonials ───────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: 0 4px 32px rgba(15,34,55,0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  border: 1px solid rgba(0,200,232,0.12);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testi-card:hover {
  box-shadow: 0 8px 48px rgba(15,34,55,0.13);
  transform: translateY(-3px);
}
.testi-quote-icon {
  font-size: 56px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.18;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  display: block;
}
.testi-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  flex: 1;
  font-style: italic;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 60%, #1a3a5c);
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,34,55,0.18);
}
.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.testi-author span {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
}
.testi-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 4px;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ── FAQ Sections ──────────────────────────────────────────────────────────── */
.faq-section-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.faq-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.faq-section-label::before,
.faq-section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.5;
}
.faq-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--text);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #E2EAF2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,34,55,0.06);
}
.faq-item {
  background: var(--white);
  border-bottom: 1px solid #E2EAF2;
  padding: 0;
  transition: background 0.2s;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item-inner {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  align-items: stretch;
}
.faq-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--cyan);
  opacity: 0.7;
  border-right: 1px solid #E2EAF2;
  background: #FAFCFF;
  transition: background 0.2s, opacity 0.2s;
}
.faq-item:hover .faq-number {
  background: rgba(0,200,232,0.04);
  opacity: 1;
}
.faq-content {
  padding: 26px 32px;
}
.faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.45;
  letter-spacing: 0.1px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}
.faq-item:hover {
  background: #FAFCFF;
}
.faq-item:hover .faq-q {
  color: var(--navy);
}

@media (max-width: 700px) {
  .faq-section-header { margin-bottom: 36px; }
  .faq-item-inner { grid-template-columns: 36px 1fr; }
  .faq-number { font-size: 10px; padding-top: 22px; }
  .faq-content { padding: 20px 20px; }
  .faq-q { font-size: 14px; }
}

/* ── Service Areas ─────────────────────────────────────────────────────────── */
.sa-section {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.sa-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,232,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sa-section .section-title { color: var(--white); }
.sa-section .section-subtitle { color: rgba(255,255,255,0.55); }
.sa-section .section-label { color: var(--cyan); }

.sa-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left callout card */
.sa-callout {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,200,232,0.2);
  border-radius: 16px;
  padding: 36px 28px;
}
.sa-callout-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-glow);
  border: 1px solid rgba(0,200,232,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 20px;
}
.sa-callout-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sa-callout-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}
.sa-callout-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(0,200,232,0.07);
  border: 1px solid rgba(0,200,232,0.15);
  border-radius: 10px;
}
.sa-stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--cyan);
  letter-spacing: 1px;
}
.sa-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* Right areas panel */
.sa-areas {
  padding-top: 4px;
}
.sa-areas-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  opacity: 0.8;
}
.sa-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.sa-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s;
  cursor: default;
}
.sa-tile:hover {
  background: rgba(0,200,232,0.08);
  border-color: rgba(0,200,232,0.3);
  color: var(--white);
}
.sa-tile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  opacity: 0.7;
}
.sa-tile:hover .sa-tile-dot {
  opacity: 1;
}
.sa-also {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sa-also strong {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .sa-layout { grid-template-columns: 1fr; gap: 36px; }
  .sa-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .sa-section { padding: 64px 0; }
  .sa-grid { grid-template-columns: repeat(2, 1fr); }
}
