/* ─── Interbind Technologies – Brand Stylesheet ─────────────────────────── */

:root {
  --navy:      #0d2137;
  --blue:      #1a6fa8;
  --cyan:      #29b6d4;
  --red:       #c0392b;
  --offwhite:  #f5f7fa;   /* off-white used everywhere instead of pure white */
  --card:      #eef1f6;   /* slightly deeper off-white for cards/inputs */
  --light:     #e8edf4;   /* section backgrounds */
  --white:     #ffffff;   /* only used where truly needed (e.g. dropdown menus) */
  --gray:      #6c7a8a;
  --border:    #d8e0eb;
  --text:      #2c3e50;
  --shadow:    0 4px 24px rgba(13,33,55,0.09);
  --shadow-lg: 0 8px 40px rgba(13,33,55,0.13);
  --radius:    10px;
  --transition: all 0.3s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem);      font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem);  font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { letter-spacing: -0.025em; }
.section-header p { max-width: 660px; margin: 16px auto 0; color: var(--gray); font-size: 1.05rem; line-height: 1.75; }

/* ─── Pill / Label ──────────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  background: rgba(26,111,168,0.10);
  color: var(--blue);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(26,111,168,0.18);
}
/* Pill on dark parallax backgrounds */
.hero .pill,
.page-hero .pill,
.cta-section .pill,
.tech-section .pill {
  background: rgba(41,182,212,0.15);
  color: var(--cyan);
  border-color: rgba(41,182,212,0.30);
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary – light bg / blue text → flips on hover */
.btn-primary {
  background: var(--offwhite);
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 2px 10px rgba(26,111,168,0.15);
}
.btn-primary:hover {
  background: var(--blue);
  color: var(--offwhite);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(26,111,168,0.35);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* Outline white – used on coloured CTA banners */
.btn-outline {
  background: transparent;
  color: var(--offwhite);
  border-color: var(--offwhite);
}
.btn-outline:hover {
  background: var(--offwhite);
  color: var(--blue);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

/* Outline blue – used on light backgrounds */
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--offwhite);
  box-shadow: 0 6px 20px rgba(26,111,168,0.30);
  transform: translateY(-2px);
}
.btn-outline-blue:active { transform: translateY(0); }

/* Secondary / ghost on light pages */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--offwhite);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ─── Navigation ────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--offwhite);
  box-shadow: 0 2px 16px rgba(13,33,55,0.07);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.navbar-brand img { height: 58px; width: auto; display: block; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.91rem;
  letter-spacing: 0.005em;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: rgba(26,111,168,0.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-toggle::after { content: '▾'; margin-left: 4px; font-size: 0.75rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--offwhite);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  /* Top padding creates an invisible hover bridge so the gap can be crossed */
  padding: 8px 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  z-index: 999;
  /* Move up so it overlaps the navbar bottom edge — no gap to cross */
  margin-top: -2px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
/* Extend the hover hit-area downward so mouse can travel into the menu */
.nav-dropdown > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 12px;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--light); color: var(--blue); padding-left: 26px; }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background-image: url('https://images.pexels.com/photos/3184357/pexels-photo-3184357.jpeg?auto=compress&cs=tinysrgb&w=1920&h=700&fit=crop');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  color: var(--offwhite);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(5,14,28,0.65) 0%, rgba(8,20,38,0.60) 55%, rgba(13,33,55,0.52) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-unified-card {
  background: rgba(8,20,38,0.58);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.09);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.hero-content {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-pill { background: rgba(41,182,212,0.15); color: var(--cyan); border-color: rgba(41,182,212,0.30); }
.hero h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero h1 span { color: var(--cyan); }
.hero p  { color: rgba(225,235,245,0.95); font-size: 1.1rem; margin-bottom: 32px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tech-tag {
  background: rgba(41,182,212,0.12);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(41,182,212,0.25);
}

/* Hero illustration panel */
.hero-visual { display: flex; align-items: center; justify-content: center; padding-left: 48px; }
.hero-card {
  width: 100%;
}
.hero-card h3 { color: #fff; }
.hero-results-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(200,230,245,0.85);
  letter-spacing: 0.02em;
  margin: -4px 0 14px;
}
.hero-results-line span { color: var(--cyan); font-size: 0.7rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}
.stat-box:hover { background: var(--blue); border-color: var(--blue); }
.stat-box:hover .num, .stat-box:hover .label { color: var(--offwhite); }
.stat-box .num   { font-size: 1.9rem; font-weight: 800; color: var(--cyan); display: block; transition: var(--transition); }
.stat-box .label { font-size: 0.78rem; color: rgba(200,220,240,0.75); transition: var(--transition); }

/* ─── Services Grid ─────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); color: inherit; }
.service-card:hover::after { transform: scaleX(1); }

/* Card with image */
.service-card-link { padding: 0; }
.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.05rem; }
.service-card-body p  { color: var(--gray); font-size: 0.91rem; margin-bottom: 20px; flex: 1; line-height: 1.65; }

/* Legacy icon card (homepage) */
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card:not(.service-card-link) { padding: 36px 32px; }
.service-card:not(.service-card-link) h3 { margin-bottom: 10px; color: var(--navy); }
.service-card:not(.service-card-link) p  { color: var(--gray); font-size: 0.93rem; margin-bottom: 20px; }

.service-card .learn-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  margin-top: auto;
}
.service-card .learn-more:hover { color: var(--cyan); gap: 12px; }

/* ─── Why Choose Us ─────────────────────────────────────────────────────── */
.why-section { background: var(--light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.why-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.why-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.why-card h4 { color: var(--navy); margin-bottom: 8px; }
.why-card p  { font-size: 0.88rem; color: var(--gray); }

/* ─── Tech Stack ────────────────────────────────────────────────────────── */
.tech-section {
  background-image: url('https://images.pexels.com/photos/3184357/pexels-photo-3184357.jpeg?auto=compress&cs=tinysrgb&w=1920&h=700&fit=crop');
  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
  position: relative;
}
.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 42, 0.91);
}
.tech-section .container { position: relative; z-index: 1; }
.tech-section .section-header h2 { color: #fff; }
.tech-section .section-header p  { color: rgba(200,220,240,0.80); }
.tech-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.tech-badge {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  color: rgba(220,235,250,0.90);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: default;
  backdrop-filter: blur(4px);
}
.tech-badge:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--offwhite);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,111,168,0.25);
}

/* ─── CTA Banner ────────────────────────────────────────────────────────── */
.cta-section {
  background-image: url('https://images.pexels.com/photos/6424589/pexels-photo-6424589.jpeg?auto=compress&cs=tinysrgb&w=1920&h=500&fit=crop');
  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
  color: var(--offwhite);
  text-align: center;
  padding: 88px 24px;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,168,0.82) 0%, rgba(5,14,28,0.72) 100%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p  { color: rgba(225,238,248,0.90); max-width: 580px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ─── Service / Page Hero ───────────────────────────────────────────────── */
.page-hero {
  background-image: url('https://images.pexels.com/photos/3184357/pexels-photo-3184357.jpeg?auto=compress&cs=tinysrgb&w=1920&h=700&fit=crop');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  border-bottom: none;
  padding: 72px 0 60px;
  overflow: hidden;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,14,28,0.72) 0%, rgba(8,20,38,0.68) 60%, rgba(13,33,55,0.62) 100%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ── Unified card wrapping the page-hero grid (same style as home hero) ── */
.page-hero .hero-unified-card {
  background: rgba(8,20,38,0.58);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.09);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  align-items: center;
}
/* Left column: add right padding + divider */
.page-hero-grid > div:first-child {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p  { color: rgba(220,232,245,0.88); max-width: 560px; font-size: 1.05rem; line-height: 1.75; }
.page-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 48px;
}
.page-hero-illustration svg {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 8px 24px rgba(26,111,168,0.12));
}
/* offering section with image split */
.offering-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding: 40px;
  background: var(--offwhite);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.offering-section-grid.reverse { direction: rtl; }
.offering-section-grid.reverse > * { direction: ltr; }
.offering-section-illustration svg { width: 100%; }
@media (max-width: 860px) {
  .page-hero-grid              { grid-template-columns: 1fr; }
  .page-hero-illustration      { display: none; }
  .page-hero .hero-unified-card { padding: 28px 20px; }
  .page-hero-grid > div:first-child { padding-right: 0; border-right: none; }
  .offering-section-grid  { grid-template-columns: 1fr; }
  .offering-section-grid.reverse { direction: ltr; }
}

.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 0.85rem; }
.breadcrumb a       { color: var(--cyan); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span    { color: rgba(200,220,235,0.55); }
.breadcrumb .current{ color: rgba(220,235,248,0.85); }

/* ─── SLA Response Model Card ───────────────────────────────────────────── */
.sla-model-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.sla-model-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sla-pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #27ae60;
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(39,174,96,0); }
}
.sla-tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.sla-tier {
  border-radius: 12px;
  padding: 18px 20px;
  color: #fff;
  animation: fadeSlideIn 0.5s ease both;
}
.sla-tier:nth-child(1) { animation-delay: 0.1s; }
.sla-tier:nth-child(2) { animation-delay: 0.25s; }
.sla-tier:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sla-critical { background: linear-gradient(135deg, #1a6fa8 0%, #1560a0 100%); }
.sla-high     { background: linear-gradient(135deg, #29b6d4 0%, #1fa3be 100%); }
.sla-standard { background: linear-gradient(135deg, #0d2137 0%, #162d45 100%); }
.sla-tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.85;
  margin-bottom: 4px;
}
.sla-tier-time {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.sla-tier-sub {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-bottom: 12px;
}
.sla-tier-bar {
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}
.sla-tier-bar span {
  display: block;
  height: 100%;
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  animation: growBar 1s ease both;
  animation-delay: 0.6s;
  width: 0;
}
@keyframes growBar {
  from { width: 0 !important; }
}
.sla-model-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
}
.sla-model-footer span {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ─── Service Detail Grid ───────────────────────────────────────────────── */
.service-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.offering-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.offering-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 22px;
  background: var(--offwhite);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--cyan);
  transition: var(--transition);
}
.offering-item:hover { background: var(--light); border-top-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.offering-icon { font-size: 1.6rem; flex-shrink: 0; }
.offering-icon-img { flex-shrink: 0; width: 64px; height: 64px; margin-bottom: 4px; }
.offering-icon-img img { width: 64px; height: 64px; display: block; border-radius: 12px; }
.offering-item h4 { color: var(--navy); margin-bottom: 4px; font-size: 0.95rem; }
.offering-item p  { font-size: 0.85rem; color: var(--gray); margin: 0; line-height: 1.6; }

/* Sidebar */
.service-sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--offwhite);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.sidebar-card h4 { color: var(--navy); margin-bottom: 14px; font-size: 1rem; }
.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li::before { content: '✓'; color: var(--cyan); font-weight: 700; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--blue), #1498b8);
  color: var(--offwhite);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--offwhite); margin-bottom: 10px; }
.sidebar-cta p  { color: rgba(245,247,250,0.88); font-size: 0.88rem; margin-bottom: 18px; }
.sidebar-cta .btn {
  background: var(--offwhite);
  color: var(--blue);
  border-color: var(--offwhite);
  width: 100%;
  justify-content: center;
}
.sidebar-cta .btn:hover {
  background: transparent;
  color: var(--offwhite);
  border-color: var(--offwhite);
}

/* Related services */
.related-services { background: var(--light); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.related-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.related-card h4 { color: var(--navy); margin-bottom: 8px; }
.related-card p  { font-size: 0.87rem; color: var(--gray); margin-bottom: 14px; }

/* ─── About Page ────────────────────────────────────────────────────────── */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--blue), #1498b8);
  border-radius: 20px;
  padding: 40px;
  color: var(--offwhite);
  text-align: center;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.value-card {
  border-left: 4px solid var(--cyan);
  padding: 20px 20px 20px 24px;
  background: var(--offwhite);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-card h4 { color: var(--navy); margin-bottom: 8px; }
.value-card p  { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
  background: var(--offwhite);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  color: var(--offwhite);
  font-weight: 700;
}
.team-card h4   { color: var(--navy); margin-bottom: 4px; }
.team-card .role{ color: var(--blue); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.team-card p    { font-size: 0.85rem; color: var(--gray); }

/* ─── Contact Page ──────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info h3 { color: var(--navy); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--blue);
  transition: var(--transition);
}
.contact-item:hover .contact-item-icon {
  background: var(--blue);
  border-color: var(--blue);
}
.contact-item-text h4   { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.contact-item-text p,
.contact-item-text a    { color: var(--gray); font-size: 0.95rem; }
.contact-item-text a:hover { color: var(--blue); }

/* Form */
.contact-form {
  background: var(--offwhite);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--offwhite);
  box-shadow: 0 0 0 3px rgba(26,111,168,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── Blog Page ─────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--offwhite);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-thumb { height: 190px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body  { padding: 26px; }
.blog-meta  { display: flex; gap: 12px; align-items: center; font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.blog-cat {
  background: rgba(26,111,168,0.10);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(26,111,168,0.18);
}
.blog-card h3   { margin-bottom: 10px; font-size: 1.12rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p    { font-size: 0.9rem; color: var(--gray); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(245,247,250,0.80); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  /* Convert the navy/cyan logo to white for the dark footer */
  filter: brightness(0.2) invert(1);
  opacity: 0.92;
}
.footer-brand p   { font-size: 0.88rem; color: rgba(245,247,250,0.50); line-height: 1.7; }
.footer-col h5 { color: var(--offwhite); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(245,247,250,0.58); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--cyan); padding-left: 4px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.83rem;
  color: rgba(245,247,250,0.38);
}
.footer-bottom a { color: var(--cyan); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,247,250,0.60);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--cyan); color: var(--offwhite); transform: translateY(-2px); }

/* ─── 404 ───────────────────────────────────────────────────────────────── */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.not-found h1 { font-size: 6rem; color: var(--blue); line-height: 1; }

/* ─── Diagram ───────────────────────────────────────────────────────────── */
.diagram-wrap { margin-bottom: 20px; }
.diagram-svg  { width: 100%; border-radius: 10px; }

/* ─── Stat Grid & Cards ─────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,111,168,0.22); }
.stat-card:hover .stat-num,
.stat-card:hover .stat-label,
.stat-card:hover .stat-icon { color: #fff; }

.stat-icon  { font-size: 1.4rem; display: block; margin-bottom: 4px; position: relative; z-index: 1; transition: var(--transition); }
.stat-num   { font-size: 1.75rem; font-weight: 800; color: var(--blue); display: block; position: relative; z-index: 1; transition: var(--transition); letter-spacing: -0.5px; }
.stat-label { font-size: 0.75rem; color: var(--gray); display: block; position: relative; z-index: 1; transition: var(--transition); margin-top: 2px; }

/* fade-in animation for stat cards */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-card { animation: fadeSlideUp 0.5s ease both; }
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* ─── Process steps (homepage) ──────────────────────────────────────────── */
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.process-card:hover .step-num {
  background: var(--blue);
  color: var(--offwhite);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .hero-unified-card  { padding: 28px 20px; }
  .hero-content       { padding-right: 0; border-right: none; }
  .service-detail-grid{ grid-template-columns: 1fr; }
  .service-sidebar    { position: static; }
  .about-intro-grid   { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .offering-list      { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--offwhite); padding: 20px 24px 28px; gap: 8px;
    box-shadow: 0 8px 24px rgba(13,33,55,0.10);
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta   { display: none; }
  .dropdown-menu {
    position: static; box-shadow: none;
    border: none; border-left: 3px solid var(--blue);
    background: var(--light); padding: 4px 0 4px 16px; margin-top: 4px;
  }
  .dropdown-menu a { color: var(--navy); }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .offering-list { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .offering-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-btns    { flex-direction: column; }
  .services-grid{ grid-template-columns: 1fr; }
  .hero-stats   { grid-template-columns: 1fr 1fr; }
}

/* ─── iOS / Mobile: disable fixed parallax (unsupported on Safari iOS) ─── */
@media (max-width: 768px), (hover: none) {
  .hero,
  .page-hero,
  .cta-section,
  .tech-section {
    background-attachment: scroll;
  }
}

/* ─── Lead Capture Popup ────────────────────────────────────────────────── */
#ib-lead-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.ib-popup-overlay {
  position: absolute; inset: 0;
  background: rgba(8,20,38,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ib-popup-box {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 40px 36px;
  max-width: 540px; width: 100%;
  box-shadow: 0 24px 80px rgba(8,20,38,0.35);
  animation: popupSlideIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popupSlideIn {
  from { opacity:0; transform:scale(0.88) translateY(30px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.ib-popup-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1; color: #6c7a8a;
  cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: all 0.2s;
}
.ib-popup-close:hover { background: #f0f2f5; color: var(--navy); }
.ib-popup-badge {
  display: inline-block;
  background: rgba(41,182,212,0.12);
  color: var(--cyan);
  border: 1px solid rgba(41,182,212,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  margin-bottom: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.ib-popup-title {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.ib-popup-sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 22px;
  line-height: 1.6;
}
.ib-popup-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--offwhite);
  outline: none;
  transition: border-color 0.2s;
}
.ib-popup-input:focus { border-color: var(--cyan); background: #fff; }
.ib-popup-input option { color: var(--text); background: #fff; }
.ib-popup-submit {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.ib-popup-submit:hover  { background: var(--cyan); }
.ib-popup-submit:active { transform: scale(0.98); }

/* ─── Resources Page ────────────────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.resource-card-header {
  padding: 28px 28px 0;
}
.resource-type {
  display: inline-block;
  background: rgba(41,182,212,0.1);
  color: var(--cyan);
  border: 1px solid rgba(41,182,212,0.25);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.resource-card-body { padding: 14px 28px 22px; flex: 1; }
.resource-card-footer { padding: 0 28px 24px; }
.resource-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.resource-card p  { font-size: 0.87rem; color: var(--gray); line-height: 1.6; }
.resource-icon { font-size: 2.2rem; margin-bottom: 14px; }

/* Resource gated form */
.resource-gate-overlay {
  position: fixed; inset: 0; z-index: 9998;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.resource-gate-overlay.active { display: flex; }

/* ─── FAQ Accordion ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; cursor: pointer; text-align: left;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--navy);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--light); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; font-weight: 400;
  flex-shrink: 0; transition: all 0.25s; color: var(--blue);
}
.faq-item.open .faq-icon { background: var(--cyan); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-answer p { color: var(--gray); font-size: 0.9rem; line-height: 1.75; }
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
