.hero {
  background: #f7f8fd; /* light background */
  padding: 30px 40px 80px 40px;
  margin-top: -20px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-copy {
  flex: 1;
}

.hero-copy h1 {
  font-size: 36px;
  margin: 0 0 10px;
}

.hero-copy h2 {
  font-size: 36px;
  color: #3b82f6; /* your blue */
  margin: 0 0 20px;
}

.hero-copy p {
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #2f6bff;
  border-color: #d0d5ff;
}

/* Right side packs */

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pack-stack {
  position: relative;
  width: 420px;
  height: 380px;
}

.pack {
  position: absolute;
  bottom: 0;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.22));
  max-width: 56%;
}

/* left pack */
.pack-back {
  left: -6%;
  bottom: -10px;
  transform: rotate(-10deg);
  z-index: 1;
}

/* center */
.pack-main {
  left: 22%;
  bottom: 12px;
  z-index: 3;
}

/* right */
.pack-right {
  right: -15%;
  top: 12%;
  bottom: 10;
  transform: rotate(10deg);
  z-index: 2;
}

/* simple responsiveness */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    order: -1;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap; /* optional, helps if they get too wide */
  }

  #main_container,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

/* Phones specifically */
@media (max-width: 480px) {
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 24px; /* down from 36px */
  }

  .hero-copy p {
    font-size: 15px; /* slightly smaller body text if needed */
  }

  .hero {
    padding: 10px 10px 80px 20px;
  }
}

@media (max-width: 900px) {
  .hero-visual {
    overflow: hidden;
  }
}
