/* ============================================================
   EIDDI.COM — Brand Hub Global Stylesheet
   Distinct from eiddi.co — lighter, more premium, holding-co feel
   Font: Inter, Helvetica Neue, Arial, sans-serif
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand palette — deeper, more premium than eiddi.co */
  --ink:       #09111f;
  --ink-2:     #1a2540;
  --ink-3:     #2d3d5c;
  --blue:      #1a3fa3;
  --blue-mid:  #2253cc;
  --blue-lt:   #3b72f0;
  --accent:    #0ea5e9;
  --accent-2:  #38bdf8;
  --white:     #ffffff;
  --off-white: #f7f9fc;
  --gray-100:  #eef1f7;
  --gray-200:  #dde3ef;
  --gray-400:  #8896b3;
  --gray-600:  #4a5878;
  --gray-800:  #1e2d44;
  --font:      'Inter','Helvetica Neue',Arial,sans-serif;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 4px rgba(9,17,31,.06);
  --shadow-md: 0 4px 24px rgba(9,17,31,.1);
  --shadow-lg: 0 12px 48px rgba(9,17,31,.16);
  --trans:     .3s cubic-bezier(.4,0,.2,1);

  /* Entity brand colours */
  --co-pk:     #1a3fa3;   /* eiddi.co — Pakistan IT */
  --co-us:     #0f766e;   /* eiddisolutions.com — US LLC */
  --co-dis:    #b45309;   /* eiddidispatch.com — Dispatch */
  --co-hub:    #6d28d9;   /* eiddi.com — Hub itself */
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GEO BANNER ──────────────────────────────────────────── */
#geo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
#geo-banner.show { transform: translateY(0); }
#geo-banner a {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: .3rem .9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .8rem;
  transition: background var(--trans);
}
#geo-banner a:hover { background: var(--accent-2); }
#geo-banner button {
  background: none;
  border: none;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 .25rem;
  transition: color var(--trans);
  margin-left: .5rem;
}
#geo-banner button:hover { color: rgba(255,255,255,.8); }

/* ── NAVBAR ──────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: all var(--trans);
  padding: 1rem 0;
}
#site-header.banner-offset { top: 38px; }
#site-header.scrolled {
  background: rgba(9,17,31,.96) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
  padding: .55rem 0;
}
.navbar-brand span {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--white);
}
.navbar-brand span em { font-style: normal; color: var(--accent); }
.navbar-brand .brand-dot {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  margin-left: .3rem;
  align-self: flex-end;
  margin-bottom: .15rem;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .2px;
  padding: .45rem .9rem !important;
  transition: color var(--trans);
}
.navbar-nav .nav-link:hover { color: var(--accent) !important; }
.navbar-nav .nav-link.active { color: var(--accent) !important; }
.btn-nav-contact {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white) !important;
  border-radius: 7px;
  padding: .45rem 1.2rem !important;
  font-weight: 600;
  font-size: .85rem;
  transition: all var(--trans);
}
.btn-nav-contact:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.4);
}
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── VIDEO HERO ──────────────────────────────────────────── */
.video-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .3;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(9,17,31,.92) 0%,rgba(26,63,163,.45) 55%,rgba(9,17,31,.8) 100%);
  z-index: 1;
}
.video-content { position: relative; z-index: 2; width: 100%; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(2.75rem,5.5vw,4.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--white);
}
.hero-title .hl {
  background: linear-gradient(135deg,#60a5fa,var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  max-width: 540px;
}
.section-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
  display: block;
}
.section-title {
  font-size: clamp(1.7rem,3.2vw,2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  line-height: 1.2;
}
.section-title-white { color: var(--white); }
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg,var(--blue-lt),var(--accent));
  border-radius: 2px;
  margin: 1rem 0 1.75rem;
}
.divider-center { margin: 1rem auto 1.75rem; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section-py    { padding: 5.5rem 0; }
.section-py-sm { padding: 3.5rem 0; }
.bg-ink        { background: var(--ink); }
.bg-ink-2      { background: var(--ink-2); }
.bg-off        { background: var(--off-white); }

/* ── ENTITY CARDS ────────────────────────────────────────── */
.entity-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 2.25rem;
  transition: all var(--trans);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.entity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height var(--trans);
}
.entity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.entity-card:hover::before { height: 4px; }

.ec-pk::before      { background: var(--co-pk); }
.ec-us::before      { background: var(--co-us); }
.ec-dispatch::before{ background: var(--co-dis); }

.entity-flag {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.entity-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.eb-pk       { background: #dbeafe; color: #1e40af; }
.eb-us       { background: #d1fae5; color: #065f46; }
.eb-dispatch { background: #fef3c7; color: #92400e; }

.entity-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .35rem;
  letter-spacing: -.3px;
}
.entity-card .entity-legal {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 1rem;
  letter-spacing: .3px;
}
.entity-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.entity-meta {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1.5rem;
  padding: .9rem;
  background: var(--off-white);
  border-radius: var(--radius);
}
.entity-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
}
.entity-meta-row span:first-child { color: var(--gray-400); font-weight: 600; }
.entity-meta-row span:last-child  { color: var(--ink); font-weight: 700; }

.entity-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  transition: all var(--trans);
}
.el-pk       { background: var(--co-pk);  color: var(--white); }
.el-us       { background: var(--co-us);  color: var(--white); }
.el-dispatch { background: var(--co-dis); color: var(--white); }
.entity-link:hover { filter: brightness(1.15); transform: translateX(3px); color: var(--white); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary-hub {
  background: var(--blue-lt);
  color: var(--white);
  padding: .85rem 2.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-primary-hub:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,114,240,.35);
  color: var(--white);
}
.btn-ghost-hub {
  background: rgba(255,255,255,.1);
  color: var(--white);
  padding: .82rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-ghost-hub:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb-hub {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.breadcrumb-hub a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb-hub a:hover { color: var(--accent); }
.breadcrumb-hub span { color: rgba(255,255,255,.25); }

/* ── FOOTER ──────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  font-size: .88rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.32);
}
.footer-links-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links-inline a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .82rem;
  transition: color var(--trans);
}
.footer-links-inline a:hover { color: var(--accent); }

/* ── PRELOADER ───────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.pl-logo {
  font-size: 2rem; font-weight: 900; color: var(--white); letter-spacing: -1px;
}
.pl-logo em { font-style: normal; color: var(--accent); }
.pl-dot { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: 2px; margin-top: .3rem; text-transform: uppercase; }
.pl-bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; margin: .9rem auto 0; overflow: hidden; }
.pl-progress { height: 100%; background: linear-gradient(90deg,var(--blue-lt),var(--accent)); border-radius: 2px; animation: pl-load 1.3s ease forwards; }
@keyframes pl-load { from { width: 0; } to { width: 100%; } }

/* ── SCROLL TO TOP ───────────────────────────────────────── */
#scrollTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-lt); color: var(--white);
  border: none; display: flex; align-items: center; justify-content: center;
  z-index: 999; opacity: 0; pointer-events: none;
  transition: all var(--trans); cursor: pointer;
  box-shadow: 0 4px 16px rgba(59,114,240,.35);
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--blue-mid); transform: translateY(-3px); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── FORM ─────────────────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--ink);
  transition: all var(--trans);
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 3px rgba(59,114,240,.1);
  outline: none;
}
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: .4rem;
}

/* ── STAT ──────────────────────────────────────────────── */
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: .3rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-nav { padding: 1rem 0; }
  .navbar-nav .nav-link { padding: .6rem 0 !important; }
}
@media (max-width: 768px) {
  .section-py { padding: 3.5rem 0; }
  .hero-title { letter-spacing: -1px; }
  #geo-banner { font-size: .75rem; flex-wrap: wrap; gap: .5rem; text-align: center; }
}
