/* css for tabel of medical tourism */
.comparison-table {
  width: 100%;
  max-width: 730px;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #ddd;
}

/* Header Row */
.comparison-table thead tr {
  background-color: #f5f5f5;
  text-align: left;
}

/* Header Cells */
.comparison-table th {
  padding: 12px;
  border: 1px solid #ddd;
  font-weight: bold;
}

/* Table Data Cells */
.comparison-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

/* Zebra Row Effect */
.comparison-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Responsive for Mobile */
@media (max-width: 600px) {
  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
  }
}
/* css for tabel of medical tourism  end*/

/* FAQ Accordion Styles new css  */
.faq-item {
  border: 1px solid #ddd;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: black;
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  color: black;
}

.faq-question:hover {
  background-color: #e9ecef;
}

.faq-question i.icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 15px 20px;
  margin: 0;
}

/* Responsive Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.comparison-table th {
  background-color: #748c9e;
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* Mobile-Responsive Table */
@media (max-width: 768px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px;
    font-size: 13px;
    min-width: 100px;
  }
}

/* Mobile-Friendly Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h4 {
    font-size: 20px !important;
  }

  .header-inner-title h1 {
    font-size: 24px !important;
  }

  .header-inner-title p {
    font-size: 14px !important;
  }

  h6 {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* Mobile-Friendly Spacing */
@media (max-width: 768px) {
  .space-ptb {
    padding: 40px 0 !important;
  }

  .mb-4 {
    margin-bottom: 20px !important;
  }

  .mb-5 {
    margin-bottom: 30px !important;
  }

  .list li {
    margin-bottom: 10px;
  }
}

/* Mobile-Friendly Images */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .border-radius {
    border-radius: 8px;
  }
}

/* Mobile-Friendly Buttons */
@media (max-width: 768px) {
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Mobile-Friendly Contact Info */
.email-link {
  
  text-decoration: none;
  display: inline-block;
  margin: 10px 0;
  font-size: 16px;
}

.email-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .email-link {
    font-size: 14px;
    word-break: break-word;
  }

  h5 a {
    font-size: 14px;
  }
}

/* Mobile-Friendly Header */
@media (max-width: 768px) {
  .topbar {
    font-size: 12px;
  }

  .topbar a {
    display: block;
    padding: 5px 0;
  }
}

/* Mobile-Friendly Lists */
@media (max-width: 768px) {
  .list li {
    padding: 8px 0;
  }
}

/* Ensure text is readable on mobile */
@media (max-width: 768px) {
  p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Mobile-Friendly FAQ Heading */
@media (max-width: 768px) {
  .faq- h2 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* Mobile-Friendly Button Spacing */
@media (max-width: 768px) {
  .col-md-12.mb-0 {
    text-align: center;
    margin-top: 20px !important;
  }
}

/* Better mobile spacing for service details */
@media (max-width: 768px) {
  .service-details {
    padding: 20px 15px;
  }

  hr {
    margin: 20px 0 !important;
  }
}

/* Mobile-friendly list icons */
@media (max-width: 768px) {
  .list li i {
    min-width: 24px;
  }
}
