
/* Tagline above hero heading */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid rgba(27,42,107,0.18);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ===== HERO STRIP ===== */
.hero-strip {
  padding: 90px 0 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EAECF5 0%, #EDF5F7 60%, #F5F0FC 100%);
  border-bottom: 1px solid var(--border);
}

/* Dot grid background */
.hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,42,107,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-strip-text { flex: 1; min-width: 0; }

/* Banner fixed-height frame */
.hero-banner {
  position: relative;
  min-height: 152px;
  margin-bottom: 22px;
  overflow: hidden;
}

.banner-slide {
  display: none;
  animation: slideIn 0.55s cubic-bezier(0.4,0,0.2,1) both;
}
.banner-slide.active { display: block; }

@keyframes slideIn {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-heading em { font-style: normal; color: var(--blue); }

.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--text2);
  line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Dots */
.banner-dots { display: flex; gap: 8px; margin-top: 4px; }

.dot {
  width: 24px; height: 3px;
  border-radius: 2px;
  background: rgba(27,42,107,0.18);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.dot.active { background: var(--blue); width: 44px; }

/* RIGHT badge */
.hero-strip-badge { flex-shrink: 0; }

.badge-ring {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(27,42,107,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 40%, rgba(27,42,107,0.06), transparent 70%);
  position: relative;
}

.badge-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(27,42,107,0.2);
  animation: spin 20s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.badge-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.badge-icon { font-size: 40px; line-height: 1; }
.badge-label { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--text); margin-top: 6px; }
.badge-sub { font-size: 11px; color: var(--blue); font-weight: 600; letter-spacing: 0.05em; }

/* ===== HOME SERVICES ===== */
.home-services {
  padding: 36px 0 48px;
  background: var(--bg);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.services-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.svc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  opacity: 0;
  transition: opacity 0.22s;
}

/* Different accent per row */
.svc-card:nth-child(1)::before,
.svc-card:nth-child(2)::before { background: var(--blue); }
.svc-card:nth-child(3)::before,
.svc-card:nth-child(4)::before { background: var(--teal); }
.svc-card:nth-child(5)::before,
.svc-card:nth-child(6)::before { background: var(--orange); }

.svc-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.svc-body { flex: 1; min-width: 0; }

.svc-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svc-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-arrow {
  color: var(--blue);
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(3px); }

/* ===== WHY US items ===== */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.22s;
  box-shadow: var(--shadow);
}
.why-item:hover { border-color: var(--border2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.why-icon { font-size: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; color: var(--text); }
.why-item p  { font-size: 13px; color: var(--muted); margin: 0; }

/* ===== WHY US section bg ===== */
.why-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,42,107,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ===== CTA strip ===== */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, #3B71FF 50%, var(--blue2) 100%);
}

.cta-strip .section-title,
.cta-strip .section-title em,
.cta-strip p { color: rgba(255,255,255,0.9); }
.cta-strip .section-title em { color: #7EB8FF; }
.cta-strip .btn-cta-white {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-strip .btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.cta-strip > * { position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-strip-badge { display: none; }
  .services-home-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-strip { padding: 88px 0 28px; }
  .services-home-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== SERVICES SLIDER ===== */
.svc-prev, .svc-next {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--blue);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.svc-prev:hover, .svc-next:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.svc-slider-wrap {
  overflow: hidden;
  position: relative;
}

.svc-slider {
  display: flex;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* show 3 cards at a time; each card is (100% - 2*12px) / 3 wide */
}

/* Each card is exactly 1/3 of container minus gaps */
.svc-slider .svc-card {
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
}

@media (max-width: 900px) {
  .svc-slider .svc-card { flex: 0 0 calc((100% - 12px) / 2); }
}
@media (max-width: 560px) {
  .svc-slider .svc-card { flex: 0 0 100%; }
}
