.footer2 {
  top: 64px;
}

.panel-4 {
  position: relative;
  width: 100%;
  background-color: var(--color-gray-100);
  padding: 64px 40px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  top: 48px;
}

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

.panel-4-heading-text {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-28);
  font-weight: bold;
  margin-bottom: 48px;
  display: block;
}

.card-group {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.card {
  background-color: var(--color-black);
  border-radius: 14px;
  padding: 32px 24px;
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.card-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.card-heading {
  font-size: var(--font-size-18);
  font-weight: 600;
}

.card-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray-400);
}

.card-email {
  font-weight: 600;
  color: #3cb4cc;
  margin-top: auto;
  font-size: 14px;
}

.card-email:hover {
  color: #36a2b7;
  /* highlight color on hover */
}


/* Panel 3 Styling */
.panel-3 {
  width: 100%;
  background-color: var(--color-gray-100);
  text-align: left;
  padding: 64px 40px;
  box-sizing: border-box;
  font-size: var(--font-size-18);
  color: white;
  top: 32px;
  position: relative;
}

.panel-3-heading-text {
  font-size: var(--font-size-28);
  text-align: center;
  align-items: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.panel-3-subtext {
  font-size: var(--font-size-14);
  color: var(--color-gainsboro);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 20px;
}

.accordion-group {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 10px;
}

.accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #454756;
}

.accordion-header {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-heading-text {
  font-weight: 600;
  font-size: 18px;
  color: white;
  letter-spacing: 0.4px;
  line-height: 22px;
}

.accordion-icon-chevron {
  width: 15px;
  height: 9px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
  /* make it white if needed */
}

.accordion-body {
  padding: 0 0 16px;
  font-size: var(--font-size-14);
  line-height: 1.6;
  color: var(--color-gainsboro);
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

.accordion-item.active .accordion-icon-chevron {
  transform: rotate(180deg);
}



/* Panel 2 Styling */
.panel-2 {
  position: relative;
  width: 100%;
  min-height: 350px;
  background-color: var(--color-gray-100);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 40px;
  box-sizing: border-box;
  top: 16px;
}

.panel-2-content {
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.panel-2-heading-text {
  font-size: var(--font-size-28);
  font-weight: bold;
  color: white;
}

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

.supernova-is-a {
  margin: 0 0 12px;
}


/* Hero Panel Styling */
.hero-panel {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

/* Full-screen video background */
.hero-panel-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Centered logo */
.aboutus-supernova-logo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 740px;
  height: 74px;
  object-fit: contain;
}

/* Down arrow button */
.icon-arrow-down {
  cursor: pointer;
  border: 0;
  padding: 0;
  background-color: transparent;
  position: absolute;
  top: calc(50% + 137.5px);
  left: 50%;
  transform: translateX(-50%);
  width: 19px;
  height: 25px;
  background-image: url('https://files.supernova-analytics.com/images/home/Icons/Icon_Arrow_Down.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}



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





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

  .card {
    background-color: var(--color-black);
    border-radius: 14px;
    padding: 32px 24px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    max-width: unset;
  }

  .panel-2-body-text {
    font-size: 14px;
  }

}


@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;
  }

}