.image-text-container {
  display: flex;
  align-items: center;
  gap: 2em;
  margin: 2em 0;
}

.text-content {
  flex: 1;
}

.image-text-container .image,
.image-text-container .image.right {
  /* Added right image selector */
  flex: 0 0 auto;
  width: 40%;
  /* Adjust width as needed */
  margin: 0;
  /* Remove default margins */
}

.image-text-container img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .image-text-container {
    flex-direction: column;
    text-align: center;
  }

  .image-text-container .image,
  .image-text-container .image.right {
    /* Added right image selector */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Insurance table styling */
.insurance-table {
  position: relative;
  margin: 2em 0;
  overflow-x: hidden;
}

.table-wrapper {
  overflow-x: auto;
  padding-right: 0 50px;
  /* Make room for the indicator */
}

.insurance-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.insurance-table td {
  padding: 1em;
  border: 1px solid #ddd;
  text-align: left;
  background: #fff;
}

@media screen and (min-width: 555px) {
  .scroll-left.scroll-indicator,
  .scroll-right.scroll-indicator {
    display: none;
  }
}
.scroll-indicator {
  display: none;
  /* Hidden by default */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 3px 0 0 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  animation: bounce 1.5s infinite;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
}

.scroll-left::after {
  content: '←';
  font-size: 18px;
}

.scroll-right::after {
  content: '→';
  font-size: 18px;
}

.scroll-indicator:hover {
  background: rgba(0, 0, 0, 0.8);
  /* Darker on hover */
}

.scroll-indicator:active {
  background: rgba(0, 0, 0, 0.9);
  /* Even darker when clicked */
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Show indicator only when table is scrollable */
@media screen and (max-width: 768px) {
  .insurance-table.is-scrollable .scroll-indicator {
    display: flex;
  }
}

/* Responsive table */
@media screen and (max-width: 768px) {
  .insurance-table table {
    min-width: 600px;
    /* Ensures table remains readable on mobile */
  }

  .insurance-table {
    margin: 2em -1em;
    /* Negative margin to allow full-width scrolling */
    padding: 0 1em;
  }
}

/* Call to action section styling */
.cta-section {
  text-align: center;
  margin: 3em 0;
}

.cta-section h4 {
  margin-bottom: 2em;
  line-height: 1.5;
  font-size: 1em;
  color: #4a4a4a;
}

.cta-section .actions {
  justify-content: center;
  margin: 0;
  padding: 0;
}

.cta-section .button {
  margin: 0 auto;
  display: inline-block;
}

/* Insurance providers grid */
.insurance-grid {
  margin: 2em 0;
}

.insurance-grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1em;
  margin: 0;
  padding: 0;
  list-style: disc;
}

.insurance-grid ul li {
  padding: 0.5em !important;
  margin: 0 0 0 1.5em;
  /* Add left margin for bullets */
  border: none;
  /* Remove borders */
}

@media screen and (max-width: 736px) {
  .insurance-grid ul {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
