/* General styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}


/* Container styling */
.container {
  width: 98%;
  margin: 0 auto;
}

/* Container styling */
.container h2 {
  text-align: center;
}

/* Company Values Section */
#company-values {
  padding: 60px 0;
  background-color: #fff;
}

.values {
  display: flex;
  justify-content: space-between; /* Space out the value boxes evenly */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 30px; /* Space between each value box */

}

/* Value Box Styling */
.value-box {
  background-color: #ffffff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 30%; /* Make each box take up roughly 1/5 of the container's width */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  word-wrap: break-word; /* Allow text to break onto the next line */
  box-sizing: border-box; /* Include padding in the width calculation */
}

/* Heading Styling */
.value-box h3 {
  font-size: 1.15em !important; /* Control font size for better fitting */
  color: #000000;
  margin-bottom: 30px;
  word-wrap: break-word; /* Ensure heading text wraps inside the box */
  overflow-wrap: break-word; /* Ensures that long words break and wrap */
  hyphens: auto; /* Optional: automatically hyphenate long words */
  line-height: 1.3; /* Adjust line height to make it look more spaced */
}

.value-box p {

	text-align: left;
  margin-bottom: 0%;
}

/* Hover effect for each value box */
.value-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* Responsive Design: Adjust the box width for smaller screens */
@media (max-width: 1280px) {
  .values {
    flex-direction: column;
    align-items: center;
  }

  .value-box {
    width: 80%; /* Make the boxes take up more space on small screens */
    margin-bottom: 20px; /* Add space between the boxes */
  }

  .value-box h3 {
    font-size: 1rem; /* Smaller font size on mobile */
  }

  .value-box p {
    font-size: 1rem; /* Smaller font size on mobile */
  }

  .content br {
      display: inline;
  }

}

@media (max-width: 768px) {
  .values {
    flex-direction: column;
    align-items: center;
  }

  .value-box {
    width: 90%; /* Make the boxes take up more space on small screens */
    margin-bottom: 20px; /* Add space between the boxes */
    padding: 20px;
  }

  .value-box h3 {
    font-size: .9rem; /* Smaller font size on mobile */
  }

  .value-box p {
    font-size: .9rem; /* Smaller font size on mobile */
  }

  #company-values {
    padding: 10px;
  }

  .wrapper.style5 { 
    padding: 20px;
  }
}