/* ── Root & Global ────────────────────────────────── */
:root {
  --brand-blue:   #1d6dc0;
  --brand-mid:    #2578d4;
  --brand-accent: #0ea5e9;
  --brand-dark:   #0d2b4e;
  --brand-light:  #eff6ff;
  --text-dark:    #1a2744;
  --text-muted:   #5f6b7c;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
  padding: 0.75rem 0;
  border-bottom: 1px solid #e4edf8;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(29,109,192,.15); }

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
  color: var(--brand-blue) !important;
}
.navbar-brand span { color: var(--brand-accent); }
.navbar-brand i    { color: var(--brand-blue); }

.navbar-nav .nav-link {
  color: #374151 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brand-blue) !important; }

.navbar-toggler { border-color: #d1dce9; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--brand-blue); font-size: 1.3rem; }

.btn-call {
  background: var(--brand-blue);
  color: #fff !important;
  border-radius: 50px;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, transform .15s;
}
.btn-call:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(13,43,78,.93) 0%,
    rgba(29,109,192,.82) 45%,
    rgba(14,165,233,.45) 75%,
    rgba(14,165,233,.15) 100%
  );
  z-index: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #bfdbfe;
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 540px;
  line-height: 1.7;
}

.btn-hero-primary {
  background: #fff;
  border: none;
  border-radius: 50px;
  padding: .8rem 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  color: var(--brand-blue);
}

.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50px;
  padding: .78rem 1.8rem;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* floating stats cards */
.stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
}
.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  color: #7dd3fc;
  line-height: 1;
}
.stat-card .label { color: rgba(255,255,255,.65); font-size: .82rem; margin-top: .25rem; }

/* hero illustration */
.hero-illustration { position: relative; z-index: 1; }
.hero-screen {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-screen-bar { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.hero-screen-bar span { width: 12px; height: 12px; border-radius: 50%; }
.hero-screen-bar span:nth-child(1) { background: #ff5f57; }
.hero-screen-bar span:nth-child(2) { background: #febc2e; }
.hero-screen-bar span:nth-child(3) { background: #28c840; }

/* pulse animation */
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

/* ── Section Commons ──────────────────────────────── */
section { padding: 90px 0; }
.section-label {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

/* ── Featured Services ────────────────────────────── */
#featured-services { background: var(--brand-light); }

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #dbeafe;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(29,109,192,.12);
  border-color: #bfdbfe;
}

.service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.15rem;
}

.icon-blue   { background: #dbeafe; color: #1d6dc0; }
.icon-green  { background: #d1fae5; color: #059669; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-orange { background: #ffedd5; color: #c2410c; }
.icon-teal   { background: #ccfbf1; color: #0f766e; }
.icon-red    { background: #fee2e2; color: #dc2626; }
.icon-violet { background: #f3e8ff; color: #7c3aed; }
.icon-cyan   { background: #e0f2fe; color: #0369a1; }
.icon-rose   { background: #ffe4e6; color: #be123c; }
.icon-amber  { background: #fef3c7; color: #b45309; }

.service-card h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; color: var(--text-dark); }
.service-card p  { color: var(--text-muted); font-size: .93rem; line-height: 1.65; margin: 0; }

/* ── Small Jobs Callout ───────────────────────────── */
#small-jobs { background: #fff; padding: 70px 0; }
.small-jobs-callout {
  background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
  border: 1.5px solid #bfdbfe;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.small-jobs-icon {
  width: 72px; height: 72px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-accent));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: #fff;
}
.job-tag {
  display: inline-block;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: .28rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin: .2rem;
}

/* ── Why Us ───────────────────────────────────────── */
#why-us { background: #fff; }

.feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.8rem;
}
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}
.feature-item h5 { font-weight: 700; margin-bottom: .25rem; font-size: 1rem; }
.feature-item p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* why-us dashboard */
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 8px 30px rgba(29,109,192,.1);
  border: 1px solid #dbeafe;
}
.progress-item { margin-bottom: 1rem; }
.progress-item .label { font-size: .82rem; font-weight: 600; margin-bottom: .35rem; display: flex; justify-content: space-between; }
.progress-bar-custom { height: 8px; border-radius: 4px; background: #dbeafe; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent)); }

/* ── Service Area ─────────────────────────────────── */
#service-area { background: var(--brand-light); }
.area-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: .3rem;
  transition: background .2s, color .2s;
}
.area-badge:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

.nj-map-visual {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-accent));
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nj-map-visual i { font-size: 4.5rem; opacity: .9; }
.nj-map-visual h3 { font-weight: 800; font-size: 1.6rem; margin-top: .75rem; }
.nj-map-visual p  { opacity: .85; font-size: .95rem; }

/* ── Testimonials ─────────────────────────────────── */
#testimonials { background: var(--brand-dark); }

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2rem;
}
.testimonial-stars { color: #fbbf24; font-size: .9rem; margin-bottom: 1rem; }
.testimonial-card p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: .85rem; margin-top: 1.3rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-name  { font-weight: 700; color: #fff; font-size: .95rem; }
.author-title { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ── Contact ──────────────────────────────────────── */
#contact { background: #fff; }

.contact-info-card {
  background: linear-gradient(135deg, var(--brand-dark), #1a3a6b);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  color: #fff;
}
.contact-info-card h3 { font-weight: 800; margin-bottom: .5rem; }
.contact-info-card p  { color: rgba(255,255,255,.65); font-size: .93rem; }

.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(14,165,233,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #7dd3fc; font-size: 1.15rem;
}
.contact-item .info-label { font-size: .75rem; color: rgba(255,255,255,.5); margin: 0; }
.contact-item .info-val   { font-weight: 600; font-size: .95rem; color: #fff; margin: 0; }

.form-control, .form-select {
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(29,109,192,.1);
}
.form-label { font-weight: 600; font-size: .88rem; color: #374151; }

.btn-submit {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-dark));
  border: none;
  border-radius: 50px;
  padding: .85rem 2.2rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(29,109,192,.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29,109,192,.4); color: #fff; }

/* ── CTA Banner ───────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-blue) 100%);
  padding: 80px 0;
}
#cta h2 { font-weight: 800; color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
#cta p  { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.btn-cta-white {
  background: #fff;
  color: var(--brand-blue);
  border-radius: 50px;
  padding: .85rem 2.2rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); color: var(--brand-blue); }

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--brand-dark);
  padding: 60px 0 30px;
  color: rgba(255,255,255,.65);
}
footer .brand { font-weight: 800; font-size: 1.35rem; color: #fff; margin-bottom: .5rem; }
footer .brand span { color: #7dd3fc; }
footer .footer-tagline { font-size: .88rem; color: rgba(255,255,255,.45); }

.footer-link {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .9rem;
  display: block;
  margin-bottom: .5rem;
  transition: color .2s;
}
.footer-link:hover { color: #7dd3fc; }

footer h6 { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; letter-spacing: .5px; text-transform: uppercase; }

.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, color .2s;
  margin-right: .4rem;
}
.social-btn:hover { background: var(--brand-accent); color: #fff; border-color: var(--brand-accent); }

.footer-divider { border-color: rgba(255,255,255,.08); margin: 2rem 0 1.5rem; }
.footer-bottom { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ── Scroll to top ────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(29,109,192,.35);
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover   { background: var(--brand-dark); }

/* ── Page Hero (sub-pages) ────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-blue) 100%);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; line-height: 1.7; margin: 0; }

.breadcrumb { margin-bottom: 1.2rem; background: transparent; padding: 0; }
.breadcrumb-item a { color: #7dd3fc; text-decoration: none; font-size: .85rem; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,.5); font-size: .85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
  section { padding: 65px 0; }
  #hero   { padding-top: 80px; }
  .hero-illustration { margin-top: 3rem; }
  .small-jobs-callout { flex-direction: column; gap: 1.2rem; padding: 2rem; }
}
@media (max-width: 575.98px) {
  .stat-card { padding: .9rem 1rem; }
  .stat-card .number { font-size: 1.6rem; }
  .page-hero { padding: 110px 0 55px; }
}
