/* Service Accordion Styling */
.service-accordion-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.accordion-header {
  background-color: #f7f7f7;
  color: #333;
  padding: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #e9e9e9;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  content: '+';
  font-size: 2rem;
  font-weight: 300;
  color: #555;
  position: absolute;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  padding: 0 20px;
}

.accordion-content.active {
  max-height: 1000px; /* Adjust this value if content is too long */
  padding: 20px;
}

/* Redesigned segments grid */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.segment-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.segment-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.segment-content a.btn-secondary {
  width: 100%;
  display: block;
  font-weight: 500;
  padding: 12px 20px;
  text-align: center;
}

.additional-services {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}