/* ============================================================
   Intelli Infotech Inc. — Main Stylesheet
   Brand accent : #E5005F (magenta)
   Body         : #000000 on #FFFFFF
   Font         : Aptos 11pt (≈15px), Segoe UI fallback
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #E5005F;
  --accent-dark: #B8004C;
  --white:       #FFFFFF;
  --black:       #000000;
  --text:        #1A1A1A;
  --text-soft:   #444444;
  --border:      #DDDDDD;
  --stripe:      #F4F4F4;

  --font: 'Aptos', 'Segoe UI', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --text-base:  15px;   /* 11pt */
  --lh:         1.65;
  --max-w:      1100px;
  --nav-h:      56px;
  --header-h:   90px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a    { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }
img  { max-width: 100%; height: auto; display: block; }

.ii-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ══════════════════════════════════════════
   HEADER BAND — full magenta stripe
══════════════════════════════════════════ */
.ii-header {
  background: var(--accent);
  height: var(--header-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.ii-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ii-header__brand {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  flex-shrink: 0;
}

.ii-header__brand span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  opacity: .82;
  text-transform: uppercase;
}

.ii-header__brand a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════════
   NAVIGATION BAR — white band below header
══════════════════════════════════════════ */
.ii-navbar {
  background: var(--white);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}

.ii-navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  gap: 0;
}

.ii-navbar__item {
  position: relative;
}

.ii-navbar__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}

.ii-navbar__link:hover,
.ii-navbar__link--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* Dropdown */
.ii-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 220px;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}

.ii-navbar__item:hover .ii-dropdown { display: block; }

.ii-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .12s, border-color .12s, color .12s;
}

.ii-dropdown li a:hover {
  background: #FFF0F5;
  border-left-color: var(--accent);
  color: var(--accent);
}

/* Sub-dropdown */
.ii-dropdown .ii-subdropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 260px;
  box-shadow: 4px 4px 16px rgba(0,0,0,.08);
}

.ii-dropdown li:hover > .ii-subdropdown { display: block; }

/* Mobile-only row: logo + hamburger */
.ii-navbar__mobile-row {
  display: none;
}

/* Hamburger */
.ii-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.ii-hamburger span {
  width: 24px; height: 2px;
  background: var(--accent);
  display: block;
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════ */
.ii-main {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 36px 28px 52px;
}

/* Section heading (matches original "Services for the IT industry" style) */
.ii-section-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-soft);
  margin-top: 28px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

/* Service sub-heading */
.ii-service-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  margin: 20px 0 6px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ii-service-heading::before {
  content: '▶';
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Service detail block */
.ii-service-body {
  background: var(--stripe);
  border-left: 3px solid var(--accent);
  padding: 10px 14px 10px 20px;
  margin: 0 0 4px 20px;
  font-size: var(--text-base);
  color: var(--text);
  line-height: var(--lh);
}

.ii-intro {
  font-size: var(--text-base);
  line-height: var(--lh);
  color: var(--text);
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.ii-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.ii-footer__social {
  background: #f8f8f8;
  padding: 14px 28px;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  flex-wrap: wrap;
}

.ii-footer__social strong {
  color: var(--text);
  margin-right: 4px;
}

.ii-footer__social a {
  color: var(--accent);
  font-size: 13.5px;
  text-decoration: none;
}
.ii-footer__social a:hover { text-decoration: underline; }

.ii-footer__countries {
  padding: 10px 28px;
  max-width: var(--max-w);
  margin-inline: auto;
  font-size: 14px;
  color: var(--text);
}

.ii-footer__copyright {
  background: var(--accent);
  padding: 12px 28px;
  font-size: 13px;
  color: var(--white);
  text-align: center;
}

.ii-footer__copyright a {
  color: var(--white);
  text-decoration: underline;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 70px; }

  .ii-navbar__mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
  }
  .ii-navbar__mobile-row img {
    height: 38px;
    width: auto;
  }

  .ii-navbar__inner {
    flex-wrap: wrap;
    height: auto;
    display: none;
    padding-block: 8px;
  }
  .ii-navbar__inner--open { display: flex; flex-direction: column; }
  .ii-navbar__item { width: 100%; }
  .ii-navbar__link { padding: 10px 12px; border-bottom: none; border-left: 3px solid transparent; }
  .ii-navbar__link:hover { border-left-color: var(--accent); border-bottom: none; }

  .ii-dropdown, .ii-subdropdown {
    position: static;
    box-shadow: none;
    border-left: 3px solid var(--accent);
    margin-left: 16px;
    display: block;
  }
  .ii-hamburger { display: flex; }

  .ii-service-heading, .ii-service-body { margin-left: 0; }
}
