/* ===================================================
   OVERVIEW INSIGHTS SECTION — PREMIUM CSS
   =================================================== */

.overview-insights-section {
  padding: 8rem 0;
  background: linear-gradient(160deg, #edf1f7 0%, #e8eef6 60%, #edf1f7 100%);
  position: relative;
  overflow: hidden;
}

/* Ambient light bleed — top right & bottom left */
.overview-insights-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(29, 124, 191, 0.07) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(29, 124, 191, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

/* Dot grid — fades toward center, visible only at edges */
.overview-insights-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(29, 124, 191, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, black 80%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, black 80%);
}

.overview-insights-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.overview-insights-section .insights-content {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

/* ---- Row ---- */
.overview-insights-section .insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.overview-insights-section .insight-row.reversed .insight-image {
  order: 2;
}

.overview-insights-section .insight-row.reversed .insight-text {
  order: 1;
}

/* =====================
   IMAGE
   ===================== */

.overview-insights-section .insight-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 400px;

  /* Deep layered shadow with soft blue outer glow */
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 4px 8px rgba(15, 23, 42, 0.05),
    0 20px 40px rgba(15, 23, 42, 0.10),
    0 40px 80px rgba(15, 23, 42, 0.08),
    0 0 60px rgba(29, 124, 191, 0.06);

  transition:
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.55s ease;
}

.overview-insights-section .insight-row:hover .insight-image {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.07),
    0 8px 16px rgba(15, 23, 42, 0.07),
    0 30px 60px rgba(15, 23, 42, 0.13),
    0 56px 100px rgba(15, 23, 42, 0.10),
    0 0 80px rgba(29, 124, 191, 0.10);
}

/* Gradient shimmer border on image card */
.overview-insights-section .insight-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(29, 124, 191, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(29, 124, 191, 0.15) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Top glass sheen */
.overview-insights-section .insight-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 28px 28px 0 0;
}

.overview-insights-section .insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-insights-section .insight-row:hover .insight-image img {
  transform: scale(1.06);
}

/* Image overlay — bottom gradient */
.overview-insights-section .insight-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.28) 0%,
    rgba(13, 27, 42, 0.05) 45%,
    transparent 70%
  );
  z-index: 1;
}

/* =====================
   TEXT COLUMN
   ===================== */

.overview-insights-section .insight-text {
  position: relative;
}

/* Short decorative rule above label */
.overview-insights-section .insight-text::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1d7cbf, #3b9edd);
  margin-bottom: 1.25rem;
}

/* Label */
.overview-insights-section .insight-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.overview-insights-section .insight-label svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary, #1d7cbf);
  flex-shrink: 0;
}

.overview-insights-section .insight-label span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary, #1d7cbf);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Title */
.overview-insights-section .insight-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Description card — refined glass style with left accent border */
.overview-insights-section .insight-description {
  font-size: 0.975rem;
  font-weight: 500;
  color: #3d5166;
  line-height: 1.85;
  max-width: 500px;

  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(29, 124, 191, 0.1);
  border-left: 3px solid rgba(29, 124, 191, 0.4);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.03);

  /* Remove old heavy backdrop styles */
  margin-bottom: 0;

  transition: background 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.overview-insights-section .insight-row:hover .insight-description {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 2px 6px rgba(15, 23, 42, 0.04);
  border-left-color: rgba(29, 124, 191, 0.65);
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1024px) {
  .overview-insights-section .insight-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .overview-insights-section .insight-row.reversed .insight-image {
    order: 0;
  }

  .overview-insights-section .insight-row.reversed .insight-text {
    order: 0;
  }

  .overview-insights-section .insight-image {
    height: 300px;
  }

  .overview-insights-section .insights-content {
    gap: 5rem;
  }

  /* Disable hover lift on mobile — avoid stuck states */
  .overview-insights-section .insight-row:hover .insight-image {
    transform: none;
  }
}

@supports (content-visibility: auto) {
  @media (max-width: 991px) {
    .overview-insights-section {
      content-visibility: auto;
      contain-intrinsic-size: 1px 2200px;
    }
  }
}
