/* Banner Wrapper */
.testing-hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  overflow: hidden;
}

/* Overlay */
.testing-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(42 40 40 / 50%);
  z-index: 1;
}

/* Container */
.testing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Content */
.testing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* Subtitle */
.testing-subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #865ff0;
  margin: 0 0 0.5rem;
  padding: 80px 0 20px 0;
}

/* Main Heading */
.testing-hero-content h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 55px;
  color: #ffffff;
  margin: 0 0 2rem;
  line-height: 1.1;
}

/* Subtext */
.testing-hero-content h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 23px;
  color: #ffffff;
  margin: 0 auto;
  line-height: 1.5;
  max-width: 800px;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .testing-hero-content h1 {
    font-size: 50px;
  }

  .testing-hero-content h4 {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .testing-subtitle {
    font-size: 18px;
  }

  .testing-hero-content h1 {
    font-size: 36px;
  }

  .testing-hero-content h4 {
    font-size: 18px;
    max-width: 90%;
  }
}
.bess-hero-new2 {
  width: 100%;
  overflow: hidden;
  margin-top: 60px;
}

.bess-container-new2 {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 500px;
}

/* Image covers 70% width (desktop) */
.bess-image-new2 {
  flex: 0 0 70%;
  height: 100%;
  position: relative;
}

.bess-image-new2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text box vertically centered (desktop) */
.bess-text-new2 {
  position: absolute;
  top: 50%;
  right: 0;
  width: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 2;
}

.bess-text-new2 p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.bess-highlight-new2 {
  color: #9073ed;
}

/* Button */
.bess-btn-new2 {
  display: inline-block;
  padding: 8px 20px;
  background-color: #865ff0;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: 15px;
  align-self: flex-start;
}

.bess-btn-new2:hover {
  background-color: #6c56c9;
}

/* Responsive (mobile) */
@media (max-width: 992px) {
  .bess-container-new2 {
    flex-direction: column;
    min-height: auto;
  }

  .bess-image-new2 {
    width: 100%;
    height: 250px; /* control height */
    overflow: hidden;
  }

  .bess-image-new2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bess-text-new2 {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    margin: 0; /* remove negative margin */
    padding: 20px;
    box-shadow: none; /* optional: softer on mobile */
  }

  .bess-btn-new2 {
    align-self: flex-start;
  }
}