.about-hero {
  width: 100%;
  min-height: clamp(360px, 45vh, 500px);
  position: relative;

  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.1),
      rgba(0,0,0,0.8)
    ),
    url("/assets/pv/background/audit.jpeg") center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 100px;
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px; /* space between lines */
  z-index: 2;
}

.hero-small {
  color: #e6e6e6;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 10%;
}

.hero-smal {
  color: #e6e6e6;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  letter-spacing: 2px;
  margin-bottom: 10%;
}


.hero-overlay h1 {
  color: #f37f2d;
  font-size: clamp(32px, 6vw, 60px); /* responsive font size */
  font-weight: 800;
  margin: 0;
}

/* ABOUT MESSAGE SECTION */
.about-message {
  background: #000;
  padding:10px 14px;
  margin-top: 10px;
 
}

.about-message-grid {
  max-width: 1300px;
  margin-inline: auto;
  margin-top: -10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.about-message-block p {
  color: #e6e6e6;
  font-size: 17px;
  line-height: 1.8;
}

.about-message-block.left {
  padding-right: 10px;
}

.about-message-block.right {
  padding-left: 10px;
}

/* VALUES SECTION */
.values-section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap; /* allow wrapping on small screens */
}

.values-box {
  flex: 1;
  min-width: 280px;
}

.values-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* tabs wrap on small screens */
}

.values-tabs button {
  background: none;
  border: none;
  color: #e6e6e6;
  font-size: 18px;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.values-tabs .active {
  color: #f37f2d;
  border-color: #f37f2d;
}

.values-content {
  font-size: 16px;
  line-height: 1.7;
  color: #e6e6e6;
}

/* SLIDER */
.slider-box {
  width: 370px;
  height: 370px;
  overflow: hidden;
  border-radius: 15px;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: cube 1s ease;
}

@keyframes cube {
  from {
    transform: rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
  /* Stack hero overlay text and adjust font */
  .hero-overlay h1 {
    font-size: 32px;
  }

  /* Stack about message blocks */
  .about-message-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-message-block.left,
  .about-message-block.right {
    padding: 0;
  }

  /* Stack values section */
  .values-section {
    flex-direction: column;
    gap: 40px;
  }

  .slider-box {
    width: 100%;
    max-width: 370px;
    height: auto;
  }

  .values-box {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-small {
    font-size: 12px;
  }

  .about-message-block p {
    font-size: 16px;
  }

  .values-tabs button {
    font-size: 16px;
  }
}
