.overlapping-container {
  position: relative;
  /* This is the key. The parent container must be relative. */
  height: 703px;
  /* Set a fixed height for the container to control image size */
  margin: 30px 5.56%;
}

.image-card-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.image-card-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.image-card-left img,
.image-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card-left {
  position: absolute;
  top: 45%;
  /* Adjust top position to control vertical placement */

  width: 50%;
  /* Adjust width to control card size */
  /* padding: 2rem; */
  border-radius: 15px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
  z-index: 10;
  /* Ensures the content card is on top of the image */
}

.content-card-right {
  position: absolute;
  right: 0%;
  top: 45%;
  /* Adjust top position to control vertical placement */

  width: 50%;
  /* Adjust width to control card size */
  /* padding: 2rem; */
  border-radius: 15px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
  z-index: 10;
  /* Ensures the content card is on top of the image */
}

.content-card-right .dock,
.content-card-left .dock {
  padding: 1rem;
}

/* FAQ specific styles */
/* .faq-section {
    background-color: rgba(249, 249, 255, 1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.faq-container{
    position: relative;
    height: 703px;
    margin: 30px 5.56%;
}

.faq-card {
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-gray-400);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    background-color: rgba(255, 255, 255, 1);
}

.faq-question:hover {
    background-color: var(--bs-gray-200);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 1);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--bs-gray-500);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .icon {
    transform: rotate(180deg);
} */

.chat-container {
  position: fixed; /* Makes the element stick to the viewport */
  bottom: 20px; /* Positions it 20px from the bottom */
  right: -4.5%; /* Positions it 20px from the right */
  /* display: flex; */
  display: none;
  align-items: flex-end;
  gap: 15px;
  z-index: 1000; /* Ensures it appears above other content */
  margin: 30px 10%;
}

html.rtl .chat-container {
  right: initial; /* Reset right for RTL */
  left: 20px !important; /* Position it 20px from the left for RTL */
  /* display: flex; */
  display: none;
  flex-direction: row-reverse;
}

.message-bubble {
  background-color: white;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 300px;
  color: #333;
}

.message-bubble::after {
  content: "";
  position: absolute;
  bottom: 35px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid white;
}

.message-bubble p {
  margin: 0;
  line-height: 1.4;
}

.message-bubble .greeting {
  font-weight: bold;
  margin-bottom: 5px;
}

/* The container for the fixed icon */
.fixed-icon-container {
  position: fixed; /* Key property to keep the element in the same place on the viewport */
  top: 30%; /* Position it vertically in the middle of the page */
  right: 0px; /* Position it 20 pixels from the right edge */
  transform: translateY(-50%); /* Adjust vertically to be perfectly centered */
  z-index: 1000; /* Ensure it's on top of other content */
}

@media (width >=1920px) {
  .overlapping-container {
    margin: 30px 11%;
  }

  .faq-container {
    margin: 30px 11%;
  }

  .chat-container {
    position: fixed; /* Makes the element stick to the viewport */
    bottom: 20px; /* Positions it 20px from the bottom */
    right: -7%; /* Positions it 20px from the right */
  }
}

@media (max-width: 640px) {
  .about-container .glass-container {
    margin-top: 75vh;
  }
}
