

.faq-section {
  padding: 90px 0 80px;
}

.faq-intro {
  max-width: 650px;
  margin-bottom: 60px;
}

.faq-intro p {
  color: var(--paragraph-color);
  line-height: 1.8;
  font-size: 15px;
  margin-top: 12px;
}

.faq-category {
  margin-bottom: 55px;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.faq-category-title .cat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--blue-color);
  color: #ffffff;
  font-size: 20px;
}

.faq-category-title h2 {
  font-size: 26px;
  font-weight: 700;
  color: #232323;
  margin: 0;
}

.faq-item {
  border: 2px solid #e8f0fb;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: var(--blue-color);
  box-shadow: 0 8px 24px rgba(0, 78, 196, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-item.open .faq-question {
  background-color: #f4f8ff;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  color: #232323;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item.open .faq-question h3 {
  color: var(--blue-color);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #eef3fb;
  color: var(--blue-color);
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s ease;
}

.faq-item.open .faq-toggle-icon {
  background-color: var(--blue-color);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--paragraph-color);
  font-size: 15px;
  line-height: 1.8;
}

/* FAQ Sidebar */

.faq-sidebar {
  position: sticky;
  top: 180px;
}

.faq-contact-box {
  padding: 34px 28px;
  border-radius: 12px;
  background: linear-gradient(160deg, #004ec4 0%, #003ea0 100%);
  color: #ffffff;
  margin-bottom: 28px;
  text-align: center;
}

.faq-contact-box .box-icon {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 26px;
  margin: 0 auto 20px;
}

.faq-contact-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.faq-contact-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 22px;
}

.faq-contact-box a.call-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ffffff;
  color: var(--blue-color);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.faq-contact-box a.call-btn:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-3px);
}

.faq-categories-nav {
  border-radius: 10px;
  border: 2px solid #e8f0fb;
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 28px;
}

.faq-categories-nav h4 {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  border-bottom: 2px solid #eef3fb;
  background-color: #f8fbff;
}

.faq-categories-nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  color: var(--a-color);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px dashed #e0eaf4;
  transition: color 0.3s ease, background-color 0.3s ease, padding-left 0.3s ease;
}

.faq-categories-nav ul li:last-child a {
  border-bottom: none;
}

.faq-categories-nav ul li a:hover,
.faq-categories-nav ul li a.active {
  color: var(--blue-color);
  background-color: #f4f8ff;
  padding-left: 30px;
}

.faq-categories-nav ul li a i {
  font-size: 12px;
  color: var(--blue-color);
}

/* =====================================
   Responsive
===================================== */

@media (max-width: 1199px) {
  .my_header {
    grid-template-columns: 145px minmax(0, 1fr) 46px;
    column-gap: 18px;
  }
  nav > ul { gap: 22px; }
  nav a { font-size: 14px; }
  .logo_1 img { max-width: 112px; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 991px) {
  .top-bar { min-height: 46px; }
  .top-bar-content { min-height: 43px; }
  .top-bar-info { gap: 18px; }
  .top-bar-info a, .top-bar-location { font-size: 12px; }

  header, .site-header > header {
    background-color: var(--blue-color);
  }

  .my_header {
    min-height: 76px;
    padding: 9px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo_1 { display: none; }
  .logo_2 { display: block; }
  .logo_2 img { max-width: 115px; max-height: 56px; }

  nav, .search_icon { display: none; }

  .list_1 {
    display: flex;
    margin-left: auto;
  }

  .nav-bar { display: block; }
  #main_ul { max-width: 100%; }

  .page-banner h1 { font-size: 32px; }

  .sec_title h2 { width: 100%; font-size: 28px; }

  .doctor-details-sidebar { position: static; }

  .appt-form { grid-template-columns: 1fr; }
  .appt-form .full-width { grid-column: 1; }

  .faq-sidebar { position: static; margin-top: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .top-bar { padding: 7px 0; }
  .top-bar-content { justify-content: center; }
  .top-bar-info { width: 100%; justify-content: center; gap: 18px; }
  .top-bar-location, .top-bar-social { display: none; }

  .page-banner { min-height: 200px; }
  .page-banner h1 { font-size: 26px; }

  .doctors-grid { grid-template-columns: 1fr; }

  .doctor-section, .doctor-details-section, .faq-section { padding: 60px 0; }

  .appointment-box { padding: 26px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 480px) {
  .top-bar-info { justify-content: space-between; gap: 7px; }
  .top-bar-info a { font-size: 10px; }
  .top-bar-info i { font-size: 12px; }
  .logo_2 img { max-width: 105px; }
}
