/* ImagiNorthern — Premium homepage & gallery */

.in-home-premium {
  background: #fff;
  overflow-x: hidden;
}

.in-section-premium { padding: 5rem 0; }
.in-section-premium.alt {
  background: linear-gradient(180deg, #f4f5fa 0%, #fafbfe 55%, #fff 100%);
  border-top: 1px solid rgba(93, 87, 158, .06);
  border-bottom: 1px solid rgba(93, 87, 158, .06);
}

.in-section-head { gap: 1rem; }
.in-section-title {
  position: relative;
  padding-bottom: .65rem;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.in-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5D579E, #01696f);
}
.in-section-head.text-center .in-section-title::after,
.text-center .in-section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.in-cover-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(29, 38, 48, .08);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  background: #fff;
}
.in-cover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(93, 87, 158, .15);
}
.in-cover-card .cover-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.in-cover-card .cover-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45) 100%);
}
.in-cover-card .cover-initials {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.in-gallery-premium .gallery-card {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 6px 28px rgba(0,0,0,.07);
  transition: transform .25s;
}
.in-gallery-premium .gallery-card:hover { transform: translateY(-4px); }
.in-gallery-premium .gallery-thumb {
  height: 260px;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
}
.in-gallery-premium .gallery-meta {
  font-size: .8rem;
  color: #6c757d;
}
.gallery-tag {
  display: inline-block;
  background: rgba(93,87,158,.1);
  color: var(--in-primary, #5D579E);
  padding: .2rem .55rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin: .15rem .2rem .15rem 0;
}
.gallery-shot-by { font-style: italic; color: #5b6b79; }

/* Carousel — image + text blend */
.in-carousel-slide-wrap {
  position: relative;
  min-height: 840px;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}
.in-carousel-overlay-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.in-carousel-slide-wrap .container { position: relative; z-index: 2; }
.in-carousel-content.text-center .col-lg-8 { margin-left: auto; margin-right: auto; text-align: center; }
.in-carousel-content.text-center .in-carousel-text { margin-left: auto; margin-right: auto; }
.in-carousel-content.text-end .col-lg-8 { margin-left: auto; text-align: right; }
.in-carousel-content.text-end .in-carousel-text { margin-left: auto; }

.in-carousel-glass {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,.2);
}

/* Carousel — bright white text over dimmed images */
.in-carousel-slide-wrap .in-carousel-title,
.in-carousel-slide-wrap .in-carousel-text,
.in-carousel-slide-wrap .text-white {
  color: #fff !important;
}
.in-carousel-title {
  text-shadow: 0 4px 28px rgba(0,0,0,.95), 0 0 48px rgba(0,0,0,.55);
  font-weight: 800;
}
.in-carousel-text {
  opacity: 1 !important;
  color: #f8f9fc !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.9), 0 0 32px rgba(0,0,0,.45);
}
.in-carousel-badge {
  color: #1d2630 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.in-carousel-overlay-layer {
  background-blend-mode: multiply;
}
.in-hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.85);
  opacity: 1;
}
.in-hero-carousel .carousel-indicators .active {
  background-color: #fff;
}
.in-video-embed {
  box-shadow: 0 12px 40px rgba(29, 38, 48, .12);
  border: 1px solid rgba(93, 87, 158, .08);
}
.in-video-section .in-video-story {
  font-size: 1.05rem;
  line-height: 1.75;
}
.in-video-embed-compact {
  max-width: 100%;
  box-shadow: 0 10px 36px rgba(29, 38, 48, .1);
}
.in-video-placeholder {
  background: linear-gradient(135deg, #f4f5fa, #eef0f6);
  border: 1px dashed rgba(93, 87, 158, .2);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.in-gallery-premium .gallery-thumb-wrap { cursor: pointer; }

.in-stats-premium .stat-card {
  border-radius: 16px;
  border: 1px solid rgba(93,87,158,.12);
  padding: 1.5rem;
  text-align: center;
  background: #fff;
}
.in-stats-premium .stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--in-primary);
  line-height: 1;
}

.in-cta-premium {
  background: linear-gradient(135deg, #5D579E 0%, #4a4580 45%, #01696f 100%);
  color: #fff;
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(93, 87, 158, .22);
  position: relative;
  overflow: hidden;
}
.in-cta-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0%, transparent 50%);
  pointer-events: none;
}
.in-cta-premium h2, .in-cta-premium p { color: #fff; position: relative; }
.in-cta-premium .btn-light {
  border-radius: 50px;
  font-weight: 600;
  padding: .75rem 2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.in-stats-premium .stat-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.in-stats-premium .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(93, 87, 158, .12);
}

/* Logistics / trucking homepage blocks */
.logistics-track-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #fff 100%);
}
.logistics-track-hero--dark {
  background: linear-gradient(135deg, #1a2332 0%, #2d3a4f 100%);
  color: #fff;
}
.logistics-track-hero--dark .lead { color: rgba(255,255,255,.85); }
.logistics-hero-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 20px;
  background: rgba(93,87,158,.12);
  color: var(--brand-primary, #5D579E);
  margin-bottom: 1rem;
}
.logistics-track-hero--dark .logistics-hero-badge { background: rgba(255,255,255,.15); color: #fff; }
.logistics-service-card { border: none; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.logistics-service-icon {
  width: 56px; height: 56px; margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-primary, #5D579E), #01696f);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.logistics-fleet-stats { background: #1d2630; color: #fff; }
.logistics-stat-val { font-size: 1.75rem; font-weight: 700; }
.logistics-stat-lbl { font-size: .8rem; opacity: .75; }
.logistics-cta-band {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, var(--brand-primary, #5D579E), #01696f);
}
.logistics-driver-card { border-left: 4px solid var(--brand-primary, #5D579E); }

@media (max-width: 768px) {
  .in-carousel-slide-wrap { min-height: 560px; }
  .in-cover-card .cover-img, .in-cover-card .cover-initials { height: 160px; }
  .in-gallery-premium .gallery-thumb { height: 200px; }
}