/* =============================================
   HavenCore Technologies — Stylesheet v2
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ---- Weights ---- */
.font-300 { font-weight: 300; }
.font-700 { font-weight: 700; }

/* ===== NAVBAR ===== */
#navbar { transition: background 0.35s, box-shadow 0.35s; }
#navbar.scrolled {
  background: rgba(6,14,28,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, #1B6FD8, #3DAA47);
  transition: width 0.25s ease;
  border-radius: 1px;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1B6FD8, #1459B8);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.55rem 1.35rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(27,111,216,0.3);
}
.btn-cta:hover {
  background: linear-gradient(135deg, #2579E8, #1B6FD8);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(27,111,216,0.45);
}

.mob-link {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.875rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.93rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.15s;
}
.mob-link:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ===== HERO ===== */
.hero-section {
  background: radial-gradient(ellipse 120% 80% at 60% 40%, #0D2B4E 0%, #060E1C 65%);
}
.hero-gradient {
  background: linear-gradient(100deg, #3B89F0, #F5A623 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grid-lines {
  background-image:
    linear-gradient(rgba(59,137,240,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,137,240,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-blue { width: 600px; height: 600px; background: #1B6FD8; top: -100px; right: -100px; opacity: 0.10; }
.orb-green { width: 500px; height: 500px; background: #3DAA47; bottom: -120px; left: -80px; opacity: 0.09; }

.pill {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #52C25D;
  box-shadow: 0 0 0 0 rgba(82,194,93,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(82,194,93,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(82,194,93,0); }
  100% { box-shadow: 0 0 0 0 rgba(82,194,93,0); }
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.25rem 0.875rem;
  text-align: center;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
}
.stat-card:hover { background: rgba(255,255,255,0.07); }

.scroll-cue {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  animation: bounce 2s infinite;
}
.scroll-cue:hover { color: rgba(255,255,255,0.65); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1B6FD8 0%, #3DAA47 100%);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(27,111,216,0.35);
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,111,216,0.45); opacity: 0.93; }

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 0.625rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost-lg:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); transform: translateY(-2px); }

/* ===== SECTION LABELS ===== */
.label-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, rgba(27,111,216,0.08), rgba(61,170,71,0.08));
  color: #1B6FD8;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(27,111,216,0.18);
}
.label-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #F7BC52;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: #0A1628;
  line-height: 1.12;
  max-width: 36rem;
}

/* ===== ABOUT ===== */
.dots-grid {
  background-image: radial-gradient(rgba(27,111,216,0.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

.pillar-card {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-top: 3px solid var(--accent, #1B6FD8);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.pillar-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}

.what-we-do-card {
  background: linear-gradient(145deg, #0D1F3C, #0A1628);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.wwd-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}
.wwd-check {
  flex-shrink: 0;
  margin-top: 2px;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: rgba(61,170,71,0.15);
  color: #52C25D;
  display: flex; align-items: center; justify-content: center;
}
.proj-badge {
  border: 1px solid;
  border-radius: 1rem;
  padding: 0.875rem;
  transition: opacity 0.2s;
}
.proj-badge:hover { opacity: 0.85; }

/* ===== SERVICES ===== */
.svc-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ic, #1B6FD8), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.10); }
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.875rem;
  background: var(--ib, rgba(27,111,216,0.1));
  color: var(--ic, #1B6FD8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0A1628;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.svc-card:hover .svc-title { color: var(--ic, #1B6FD8); }
.svc-desc { color: #6B7280; font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* ===== LIFECYCLE ===== */
.lc-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 0.9rem 1.25rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}
.lc-step:hover { background: rgba(255,255,255,0.06); border-color: rgba(27,111,216,0.3); }
.lc-step-last { border-color: rgba(61,170,71,0.2); }
.lc-num {
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B6FD8, #112952);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lc-num-last { background: linear-gradient(135deg, #3DAA47, #1B6FD8); }
.lc-icon {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: rgba(27,111,216,0.12);
  color: #3B89F0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lc-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.97rem;
}
.lc-sub { color: rgba(255,255,255,0.4); font-size: 0.78rem; margin-top: 1px; }

.pt-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem;
  transition: background 0.2s;
}
.pt-card:hover { background: rgba(255,255,255,0.06); }
.pt-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===== UTILITIES SECTION ===== */
.info-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  overflow: hidden;
}
.info-card-head {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.info-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list {
  padding: 1.25rem 1.75rem;
  list-style: none;
  space-y: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #4B5563;
  font-size: 0.88rem;
}

.info-card-dark {
  background: linear-gradient(145deg, #0D1F3C, #0A1628);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  padding: 1.75rem;
}
.util-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(59,137,240,0.1);
  border: 1px solid rgba(59,137,240,0.18);
  color: #93C5FD;
  border-radius: 0.625rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.util-chip:hover { background: rgba(59,137,240,0.18); }

.deliv-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: #F0F7FF;
  border: 1px solid #DBEAFE;
  color: #1B6FD8;
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  cursor: default;
}
.deliv-chip:hover { background: #1B6FD8; color: #fff; border-color: #1B6FD8; transform: translateY(-2px); }

/* ===== WHY ===== */
.why-bg {
  background: linear-gradient(135deg, #F8FBFF 0%, #F0F7F1 50%, #FEFCF4 100%);
}
.why-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); }
.why-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.why-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A1628;
  margin-bottom: 0.6rem;
}
.why-desc { color: #6B7280; font-size: 0.875rem; line-height: 1.65; }

.quote-block {
  background: linear-gradient(145deg, #0D1F3C, #0A1628);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2rem;
  padding: 2.5rem 3rem;
  text-align: center;
}

/* ===== CONTACT ===== */
.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  transition: background 0.2s;
}
.ci-card:hover { background: rgba(255,255,255,0.07); }
.ci-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-label { color: rgba(255,255,255,0.5); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.ci-val   { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.ci-link  { font-size: 0.9rem; text-decoration: none; transition: opacity 0.2s; }
.ci-link:hover { opacity: 0.75; }

.form-grp { display: flex; flex-direction: column; gap: 6px; }
.form-grp label { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; }
.inp-wrap { position: relative; }
.inp-ico {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
}
.form-inp {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0.75rem;
  color: #fff;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
textarea.form-inp { padding-left: 1rem; padding-top: 0.75rem; }
.form-inp::placeholder { color: rgba(255,255,255,0.28); }
.form-inp:focus { border-color: rgba(27,111,216,0.55); background: rgba(255,255,255,0.09); }
.form-sel option { background: #0D1F3C; color: #fff; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1B6FD8 0%, #3DAA47 100%);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(27,111,216,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,111,216,0.45); opacity: 0.93; }

/* ===== FOOTER ===== */
.ftr-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.38);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s;
}
.ftr-link:hover { color: rgba(255,255,255,0.75); }

/* ===== SCROLL TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B6FD8, #3DAA47);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(27,111,216,0.4);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 40;
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { box-shadow: 0 6px 24px rgba(27,111,216,0.55); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .section-h2 { font-size: 1.75rem; }
  .quote-block { padding: 2rem 1.5rem; }
  .lc-step { padding: 0.75rem 1rem; }
}
