.panel-7 {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  color: var(--color-white);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 92px;
  padding-top: 40px;
}

.panel-7-background-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.panel-7-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0px 20px;
}

.panel-7-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  margin: 0;
  color: var(--color-white);
}

.panel-7-body-text {
  font-size: var(--font-size-16);
  line-height: 24px;
  max-width: 700px;
  margin: 0;
  color: var(--color-gray-200);
}

.analytics-p7-image-icon {
  width: 100%;
  max-width: 965px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}



/* Panel 6 Styles */
.panel-6 {
  position: relative;
  width: 100%;
  min-height: 657px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  box-sizing: border-box;
  font-size: var(--font-size-28);
  overflow: hidden;
  z-index: 1;
  top: 77px;
  height: 100%;
}

.panel-6-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.panel-6-background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.panel-6-content {
  position: relative;
  max-width: 1200px;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.panel-6-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  line-height: 40px;
  color: var(--color-white);
  max-width: 700px;
  margin: 0;
}

.analytics-p6-image-icon {
  max-width: 1024px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.analytics-p6-image-icon-mobile {
  max-width: 424px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
}


/* Panel 5 Styles */
.panel-5 {
  width: 100%;
  background-color: var(--color-gray-100);
  padding: 80px 24px;
  box-sizing: border-box;
  font-size: var(--font-size-28);
  text-align: center;
  position: relative;
  top: 62px;
}

.panel-5-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.panel-5-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  margin: 0;
  max-width: 700px;
  color: var(--color-white);
}

.panel-5-body-text {
  font-size: var(--font-size-16);
  line-height: 24px;
  color: var(--color-gray-700);
  max-width: 800px;
  margin: 0;
}

.analytics-p5-chart-container {
  width: 100%;
  max-width: 1022px;
}

.chart-tile {
  position: relative;
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  overflow: hidden;
}

/* Example control styles – adjust as needed */




/* Panel 4 Styles */
.panel-4 {
  width: 100%;
  background-color: var(--color-gray-100);
  padding: 40px 24px;
  box-sizing: border-box;
  color: var(--color-white);
  text-align: center;
  min-height: 620px;
  position: relative;
  top: 48px;
  height: 100%;
}

.panel-4-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 40px;
}

.panel-4-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  margin: 0;
  color: var(--color-white);
  max-width: 720px;
}

.panel-4-body-text {
  font-size: var(--font-size-16);
  line-height: 24px;
  color: var(--color-gray-200);
  max-width: 770px;
  margin: 0;
}

.panel-4-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  /* spacing between images */
  margin-top: 12px;
  width: 100%;
}

/* Shared styles for both images */
.analytics-p4-image-icon-left,
.analytics-p4-image-icon-right {
  width: 48%;
  /* show side-by-side with some gap */
  min-width: 280px;
  /* prevent too small on narrow views */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  flex: 1 1 48%;
}


/* Panel 3 Styles */
/* Panel 3 - Default (desktop) */
.panel-3 {
  position: relative;
  width: 100%;
  background-image: url(https://files.supernova-analytics.com/images/Analytics/The_Expert_Selection_Background_Image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  text-align: left;
  color: var(--color-white);
  padding-left: 24px;
  padding-right: 60px;
  box-sizing: border-box;
  height: 570px;
  top: 32px;
}

.panel-3-gradient-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.panel-3-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 1;
  gap: 10px;
  flex-wrap: nowrap;
  height: 100%;
  flex-direction: row;
}

.analytics-p3-image-icon {
  flex: 1 1 600px;
  max-width: 700px;
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 8px;
  z-index: 1;
}

.panel-3-copy {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
  position: relative;
}

.panel-3-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  margin: 0;
  color: var(--color-white);
}

.panel-3-body-text p {
  margin: 0 0 16px 0;
  font-size: var(--font-size-16);
  line-height: 24px;
  color: var(--color-gray-200);
}

/* Panel 2 Styles */
.panel-2 {
  background-color: var(--color-gray-100);
  padding: 80px 24px;
  text-align: left;
  position: relative;
  top: 16px;
}

.panel-2-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: nowrap;
  flex-direction: row;
  padding: 0px 20px;
}


.panel-2-copy {
  flex: 1 1 500px;
  /* Flexible layout */
  max-width: 600px;
  /* Limit max width */
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  /* Keep text left-aligned */
  text-align: left;
  margin-left: auto;
  /* Centering trick (see below) */
  margin-right: auto;
}




.panel-2-heading-text {
  font-size: var(--font-size-28);
  font-weight: 700;
  margin: 0;
}

.panel-2-body-text {
  font-size: var(--font-size-16);
  line-height: 24px;
  color: var(--color-gray-700);
  margin: 0;
}

.panel-2-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet img {
  width: 19px;
  height: auto;
  object-fit: contain;
  margin-top: 2px;
}

.bullet span {
  font-size: var(--font-size-14);
  line-height: 20px;
  color: white;
}

.analytics-p2-image-icon {
  flex: 1 1 600px;
  max-width: 712px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}


/* Hero Panel Styles */

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 40px;
  height: 90vh;
  width: 100%;
  color: white;
  font-size: 64px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
  padding-right: 40px;
  justify-content: center;
}

.panel-1-background-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

.panel-1-background-video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  /* Space between heading/body/icon */
  max-width: 800px;
}

.hero-panel-heading-text {
  font-size: 64px;
  /* Fixed size */
  font-weight: bold;
  line-height: 1.2;
}

.hero-panel-body-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 30px;
  letter-spacing: 0.2px;
}

.icon-arrow-down {
  width: 18px;
  height: 23px;
  object-fit: cover;
  cursor: pointer;
}




.analytics {
  position: relative;
  background-color: var(--color-black);
  width: 100%;
  height: auto;
  text-align: center;
  font-size: var(--font-size-16);
  color: var(--color-white);
  font-family: var(--font-work-sans);
}

.footer2 {
  top: 108px;
}

@media (max-width: 1280px) {

  .panel-2-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 0px 20px;
    flex-wrap: wrap;
  }

}

@media (max-width: 1100px) {
  .panel-4-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
    width: 100%;
    flex-direction: column;
    align-content: center;
  }

  .analytics-p4-image-icon-left,
  .analytics-p4-image-icon-right {
    width: 80%;
  }
}

/* Panel 3 - Responsive: stacked layout with text overlay */
/* Overlay image on small screens */
@media (max-width: 1050px) {
  .panel-3 {
    height: auto;
  }

  .panel-3-content {
    flex-direction: column;
    height: auto;
    position: relative;
  }

  /* Image as background layer */
  .analytics-p3-image-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.7;
    /* adjust as needed */
    z-index: 0;
  }

  .panel-3-copy {
    position: relative;
    width: 100%;
    padding: 110px 44px;
    box-sizing: border-box;
    z-index: 1;
  }
}

@media (max-width: 768px) {

  .panel-7-body-text,
  .panel-5-body-text,
  .panel-4-body-text,
  .panel-3-body-text p,
  .panel-2-body-text {
    font-size: 14px;
  }

  .hero-panel {
    padding: 0px 40px;
  }

  .hero-panel-heading-text {
    font-size: 60px;
  }

  .hero-panel-body-text {
    font-size: 20px;
  }

  .hero-panel-content {
    gap: 12px;
  }

}



@media (min-width: 680px) {

  .analytics-p6-image-icon-mobile {
    display: none;
  }

}

@media (max-width: 680px) {

  .analytics-p6-image-icon {
    display: none;
  }

}

@media only screen and (max-width: 368px) {

  /* Keep your layout as is */
  /* For example, if you have a header that should remain fixed while scrolling: */
  header {
    position: fixed;
    top: 0;
    width: 100%;
  }

  /* Additional styles to preserve layout integrity */
  body {
    width: 368px;
    overflow-x: scroll;
  }

}