/* General Styling for the Section */
.drywall-takeoff {
  background-color: #fefdfd;
  padding: 0px 15px;
  border-radius: 8px;
  font-family: 'Arial', sans-serif;
}

/* Section Title Styling */
.drywall-takeoff h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}

/* Subheading Styling */
.drywall-takeoff h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Paragraph Styling */
.drywall-takeoff p {
  font-size: 1rem;
  line-height: 1.6;
  color: #7f8c8d;
  text-align: justify;
  margin-bottom: 20px;
}

/* List Group Styling for Items */
.drywall-takeoff .list-group-item {
  font-size: 1rem;
  color: #34495e;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.drywall-takeoff .list-group-item:hover {
  background-color: #ecf0f1;
  transform: translateX(10px);
}

/* Link Styling for Email & Phone */
.drywall-takeoff p a {
  color: #3498db;
  text-decoration: none;
}

.btn:hover {
  color: white;
}
.drywall-takeoff p a:hover {
  text-decoration: underline;
}

/* Layout for Containers and Buttons */
.drywall-takeoff {
  margin: 50px auto;
  max-width: 1200px;
}

.drywall-takeoff .text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .drywall-takeoff h1 {
    font-size: 2rem;
  }

  .drywall-takeoff h2 {
    font-size: 1.6rem;
  }

  .drywall-takeoff p {
    font-size: 0.95rem;
  }

  .drywall-takeoff .btn-primary {
    font-size: 1rem;
    padding: 10px 25px;
  }

  .drywall-takeoff .list-group-item {
    font-size: 0.95rem;
  }
}

/* Add padding for list items */
.list-group-item {
  padding-left: 30px;
  padding-right: 30px;
}

/* Add margins to headings for better readability */
.drywall-takeoff h1, .drywall-takeoff h2 {
  margin-bottom: 25px;
  margin-top: 15px;
}

/* General Styling for the Section */
.painting-coating-takeoff {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  padding: 40px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Title */
.painting-coating-takeoff h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 25px;
}

/* Subheadings */
.painting-coating-takeoff h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Paragraph Styling */
.painting-coating-takeoff p {
  font-size: 1rem;
  line-height: 1.6;
  color: #7f8c8d;
  text-align: justify;
  margin-bottom: 15px;
}

/* List Group Styling */
.list-group-item {
  font-size: 1rem;
  color: #34495e;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.list-group-item:hover {
  background-color: #ecf0f1;
  transform: translateX(10px);
}

.text-center {
  text-align: center;
}

/* Email & Phone Styling */
.painting-coating-takeoff p a {
  color: #3498db;
  text-decoration: none;
}

.painting-coating-takeoff p a:hover {
  text-decoration: underline;
}

/* List Group for Small Items (Optional, for Consistency) */
.list-group {
  padding: 0;
  margin: 0;
}

.list-group-item {
  background-color: #fff;
  border: none;
  font-size: 1.1rem;
  color: #34495e;
}

.list-group-item + .list-group-item {
  border-top: 1px solid #ddd;
}

/* Margins for the Overall Section */
.painting-coating-takeoff {
  margin: 50px auto;
  max-width: 1200px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .painting-coating-takeoff {
    padding: 20px;
  }
  
  .painting-coating-takeoff h1 {
    font-size: 2rem;
  }

  .painting-coating-takeoff h2 {
    font-size: 1.6rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 10px 25px;
  }

  .list-group-item {
    font-size: 0.95rem;
  }
}
