/* Add this to your external CSS file */

.forms-bg {
  background-color: rgba(173, 216, 230, 0.2);
  padding-top: 5% !important;
  padding-bottom: 5% !important;
  padding-left: 10px;
  padding-right: 10px;
}


.appoinment-content {
  max-width: 800px !important;
 
}

/* Responsive styling for small devices */
@media (max-width: 768px) {
  #Doctor-img {
    max-height: 500px !important;
    width: 100%;
    object-position: center; /* Ensure center positioning of image */
  }

  .appoinment-content {
    padding: 20px 0; /* Add some vertical spacing */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  #Doctor-img {
    max-height: 250px; /* Even smaller height for very small devices */
  }
}

.doctor-bg-theam {
  padding-bottom: 5%;
  padding-top: 5%;
  background-color: rgba(173, 216, 230, 0.2);
  padding-left: 15px;
  padding-right: 15px;
}
.Gallery-bg {
  padding-bottom: 5%;
  padding-top: 5%;
  padding-left: 15px;
  padding-right: 15px;
}
/* Gallery  */

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  border-radius: 4px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
  height: 80px;
  border: none;
  text-align: left;
  font-size: 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  font-weight: 500;
  line-height: 1.4;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: #666;
  line-height: 1.5;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.faq-item.active .faq-answer {
  height: auto;
}

.chevron {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-left: 12px;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
}

.question-text {
  flex: 1;
  padding-right: 16px;
}

.faq-answer-content ul {
  list-style-type: disc; /* Remove default list bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
}

.faq-answer-content li {
  padding: 1px 5px; /* Space inside each item */
  margin-bottom: 8px; /* Space between items */
  background-color: #ffffff; /* White background for list items */

  font-size: 16px; /* Adjust text size */
  color: #333; /* Text color */
}

@media (max-width: 768px) {
  .forms-bg {
    padding-top: 10% !important;
    padding-bottom: 10% !important;
  }
  .doctor-bg-theam {
    padding-bottom: 10%;
    padding-top: 10%;
    background-color: rgba(173, 216, 230, 0.2);
  }
  .Gallery-bg {
    padding-bottom: 10%;
    padding-top: 10%;
  }
  .faq-answer-content li {
    font-size: 14px; /* Slightly smaller text size */
    padding: 8px 12px; /* Adjust padding */
  }
}
.subheading {
  color: #1b2c5f;
  font-size: 22px;
  font-weight: 800;
}
