/* Section Styling */
.construction-estimating-consultant {
  background-color: #fff;
  padding: 40px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* Content and Image Styling */
.content-img {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.content {
  flex: 1;
  padding-right: 30px;  /* Spacing between content and image */
}

.content h2 {
  font-size: 2.5em;
  margin: 0;
}

.content p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.content ul {
  list-style: none;
  padding-left: 0;
}

.content ul li {
  margin-bottom: 10px;
}

.content ul li strong {
  color: #0A2A45;  /* Dark Blue */
  font-weight: bold;
}

.content h3 {
  font-size: 2em;
  margin-top: 30px;
}

/* Image Styling */
.img {
  flex-shrink: 0;
  max-width: 400px;
}

.img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Button Styling */
.btn-get-quote {
  display: inline-block;
  background-color: #001749;  /* Dark Blue */
  color: #fff;
  padding: 12px 24px;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 15px;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-get-quote:hover {
  background-color: #1b2d58;  /* Lighter Blue */
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  .content-img {
    flex-direction: column;
    align-items: center;
  }

  .content {
    padding-right: 0;
    text-align: center;
  }

  .img {
    margin-top: 20px;
    max-width: 80%;
  }

  .content h2 {
    font-size: 2em;
  }

  .btn-get-quote {
    width: 100%;
    font-size: 1.2em;
  }
}
/* General Styles */
.estimating-consultant-services {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.estimating-consultant-services h2,
.estimating-consultant-services h3,
.estimating-consultant-services h4 {
  color: #1a1a1a; /* Dark color for headings */
}

.estimating-consultant-services p {
  color: #333;
  font-size: 16px;
}

.service-lists, .client-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Style for the list columns */
.list-column {
  flex: 1 1 45%; /* Default to 45% width for two-column layout */
  min-width: 280px; /* Minimum width for each column */
  max-width: 48%;  /* Limit the column width */
  box-sizing: border-box;
}

.list-column h3,
.list-column h4 {
  color: #007BFF;  /* Blue color for subheadings */
  margin-bottom: 10px;
}

.list-column ul {
  list-style-type: none;
  padding-left: 0;
}

.list-column ul li {
  margin-bottom: 10px;
}

.list-column ul li strong {
  color: #000;  /* Black color for emphasis */
}

/* Responsiveness for larger devices */
@media (max-width: 1200px) {
  .list-column {
    flex: 1 1 45%;  /* Adjust the width for medium devices */
  }
}

/* Tablet Responsiveness */
@media (max-width: 992px) {
  .list-column {
    flex: 1 1 48%;  /* Allow slightly more width on tablets */
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .list-column {
    flex: 1 1 100%;  /* Stack the columns on small screens */
  }

  .estimating-consultant-services h2 {
    font-size: 24px;  /* Smaller heading for mobile */
  }

  .estimating-consultant-services p {
    font-size: 14px; /* Smaller text for readability on mobile */
  }

  .service-lists,
  .client-lists {
    gap: 10px; /* Reduce gap between columns on mobile */
  }
}

/* Small Screen Responsiveness */
@media (max-width: 480px) {
  .estimating-consultant-services h2 {
    font-size: 20px; /* Further reduce font size for very small screens */
  }

  .list-column h3,
  .list-column h4 {
    font-size: 18px; /* Slightly reduce subheading sizes */
  }

  .list-column ul li {
    font-size: 14px;  /* Smaller font for mobile */
  }
}
