.insights-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px;
  text-align: center;
}

.insights-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
  display: block; /* ⬅ change from inline-block to block */
  text-align: center;
}

.carousel-container {
  position: relative;
  padding: 0 60px;
  overflow: hidden;
  min-height: 450px;
  max-height: 1000px;
}

.cards-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
  border: #000;
}

.insight-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.card-content-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 0.4s ease;
}

.brand-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #000;
  border-radius: 50%;
  display: inline-block;
}

.card-title-overlay {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-align: start;
}

.card-info-section {
  padding: 25px 30px;
  background: white;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.card-type {
  color: #666;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.card-description {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* Hover State - Expanded Content */
.card-expanded-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: white;
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

.insight-card:hover .card-expanded-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.insight-card:hover .card-overlay {
  opacity: 0;
}

.insight-card:hover .card-info-section {
  opacity: 0;
}

.expanded-type {
  color: #666;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.expanded-title {
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.expanded-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-link {
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: #666;
  border-color: #666;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #e0e0e0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: #f5f5f5;
  border-color: #333;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator-dot.active {
  background: #000;
  transform: scale(1.2);
}

/* ===========================
   RESPONSIVE TWEAKS
   =========================== */

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .insights-section {
    padding: 0 24px;
  }

  .carousel-container {
    padding: 0 40px;
    min-height: 600px;
  }

  .insight-card {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }

  .card-image-container {
    height: 360px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .insights-title {
    margin-bottom: 40px;
  }

  .carousel-container {
    padding: 0 30px;
    min-height: 550px;
  }

  .card-image-container {
    height: 320px;
  }

  .card-expanded-content {
    padding: 30px;
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
  }

  .carousel-nav.prev {
    left: 5px;
  }

  .carousel-nav.next {
    right: 5px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .insights-section {
    padding: 0 16px;
  }

  .insights-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .carousel-container {
    padding: 0 20px;
    min-height: 400px;
  }

  .cards-wrapper {
    gap: 20px;
  }

  .insight-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .card-image-container {
    height: 260px;
  }

  .card-info-section {
    padding: 18px 20px;
  }

  .card-expanded-content {
    padding: 24px 20px;
  }

  .expanded-title {
    font-size: 1.25rem;
  }

  .carousel-nav {
    width: 38px;
    height: 38px;
  }

  .carousel-nav svg {
    width: 16px;
    height: 16px;
  }

  .carousel-indicators {
    margin-top: 24px;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  .insights-section {
    padding: 0 12px;
  }

  .carousel-container {
    padding: 0 12px;
    min-height: 450px;
  }

  .card-image-container {
    height: 220px;
  }

  .brand-logo {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .card-overlay {
    padding: 18px;
  }

  .card-title-overlay {
    font-size: 1.2rem;
  }

  .card-expanded-content {
    padding: 18px 16px;
  }

  .carousel-nav {
    width: 34px;
    height: 34px;
  }

  .carousel-nav.prev {
    left: 2px;
  }

  .carousel-nav.next {
    right: 2px;
  }
}
