/* ===== FAQ Page Styles ===== */

/* Overall FAQ wrapper background */
.faq-page {
  background: #f8fafc;
}

/* FAQ Hero Section */
.faq-page .faq-hero {
  background: var(--jm-color-bg-light);
  color: var(--jm-color-primary);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-page .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 0;
}

.faq-page .faq-hero .home-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-page .faq-hero h1 {
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--jm-color-primary);
  font-weight: 700;
  line-height: 1.2;
}

.faq-page .faq-hero p {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--jm-color-text);
  line-height: 1.6;
}

/* FAQ Intro Section */
.faq-page .faq-intro {
  padding: 40px 0;
  background: transparent;
}

.faq-page .faq-intro .home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.faq-page .faq-intro h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--jm-color-primary);
  font-weight: 700;
}

.faq-page .faq-intro p {
  font-size: 15px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--jm-color-text);
  line-height: 1.6;
}

/* FAQ Categories Section */
.faq-page .faq-categories {
  padding: 25px 0;
  background: white;
  border-top: 1px solid var(--jm-color-border);
  border-bottom: 1px solid var(--jm-color-border);
}

.faq-page .faq-categories .home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-page .faq-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.faq-page .faq-category-list li {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--jm-color-border);
  border-radius: 20px;
  color: var(--jm-color-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.faq-page .faq-category-list li:hover,
.faq-page .faq-category-list li.active {
  background: var(--jm-color-primary);
  color: white;
  border-color: var(--jm-color-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Search Section */
.faq-page .faq-search {
  padding: 20px 0;
  background: white;
  border-bottom: 1px solid var(--jm-color-border);
}

.faq-page .faq-search .home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-page .faq-search-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-page .faq-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  height: 48px;
  padding: 0 16px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  transition: all 0.2s ease;
}

.faq-page .faq-search-box:hover {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.35);
  border-color: rgba(223, 225, 229, 0);
}

.faq-page .faq-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--jm-color-text);
  background: transparent;
  padding: 0 12px;
  height: 100%;
}

.faq-page .faq-search-input::placeholder {
  color: #9aa0a6;
  font-size: 16px;
}

.faq-page .faq-search-button,
.faq-page .faq-search-clear {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #5f6368;
}

.faq-page .faq-search-button:hover,
.faq-page .faq-search-clear:hover {
  background: rgba(60, 64, 67, 0.08);
}

.faq-page .search-icon,
.faq-page .clear-icon {
  width: 20px;
  height: 20px;
  color: #5f6368;
}

.faq-page .clear-icon {
  width: 16px;
  height: 16px;
}

/* FAQ List Section */
.faq-page .faq-list {
  padding: 50px 0;
  background: transparent;
}

.faq-page .faq-list .home-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FAQ Item */
.faq-page .faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--jm-color-border);
  transition: all 0.3s ease;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.faq-page .faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.faq-page .faq-item h3 {
  margin: 0;
  padding: 24px 32px 12px;
  background: white;
  color: var(--jm-color-primary);
  font-size: 20px;
  font-weight: 700;
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
  line-height: 1.4;
  letter-spacing: -0.3px;
  text-transform: none;
}

.faq-page .faq-item h3 .faq-item-link {
  color: var(--jm-color-primary);
  text-decoration: none;
  display: block;
  width: 100%;
}

.faq-page .faq-item h3::after {
  display: none;
}

.faq-page .faq-item .faq-content {
  margin: 0;
  padding: 0 32px 20px;
  color: var(--jm-color-text);
  line-height: 1.6;
  font-size: 15px;
}

.faq-page .faq-item .faq-content p {
  margin: 0 0 16px 0;
}

.faq-page .faq-item .faq-content p:last-child {
  margin-bottom: 0;
}

/* FAQ Item Link */
.faq-page .faq-item-link {
  color: var(--jm-color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.faq-page .faq-item-link:hover {
  color: var(--jm-color-primary-dark);
  text-decoration: none;
}

/* FAQ Pagination Styles */
.faq-pagination {
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
  padding: 15px 0;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--jm-color-border);
}

.faq-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.faq-pagination li {
  margin: 0;
}

.faq-pagination a,
.faq-pagination span {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--jm-color-border);
  border-radius: 8px;
  color: var(--jm-color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background: white;
  font-size: 15px;
}

.faq-pagination a {
  cursor: pointer;
}

.faq-pagination a:hover {
  background: var(--jm-color-primary);
  color: white;
  border-color: var(--jm-color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-pagination .current {
  background: var(--jm-color-primary);
  color: white;
  border-color: var(--jm-color-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.faq-pagination .prev,
.faq-pagination .next {
  font-weight: 700;
  min-width: 120px;
}

.faq-pagination .prev:hover,
.faq-pagination .next:hover {
  background: var(--jm-color-primary);
  color: white;
  border-color: var(--jm-color-primary);
}

.faq-pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.faq-pagination .disabled:hover {
  background: white;
  color: var(--jm-color-text);
  border-color: var(--jm-color-border);
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* FAQ CTA Section */
.faq-page .home-cta {
  background: var(--jm-color-primary);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-page .home-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/banner-1.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

.faq-page .home-cta .home-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-page .home-cta h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: white;
  font-weight: 700;
}

.faq-page .home-cta p {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 25px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.faq-page .home-cta a {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: transparent;
  font-size: 15px;
}

.faq-page .home-cta a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border-color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .faq-page .faq-hero h1 {
    font-size: 36px;
  }
  
  .faq-page .faq-intro h2 {
    font-size: 30px;
  }
  
  .faq-page .home-cta h2 {
    font-size: 32px;
  }
  
  .faq-page .faq-category-list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .faq-page .faq-hero {
    padding: 80px 0;
  }
  
  .faq-page .faq-intro {
    padding: 40px 0;
  }
  
  .faq-page .faq-categories {
    padding: 30px 0;
  }
  
  .faq-page .faq-list {
    padding: 60px 0;
  }
  
  .faq-page .home-cta {
    padding: 80px 0;
  }
  
  .faq-page .faq-category-list {
    gap: 15px;
  }
  
  .faq-page .faq-category-list li {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .faq-page .faq-item h3 {
    padding: 20px 24px;
    font-size: 17px;
  }
  
  .faq-page .faq-item.active p {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .faq-page .faq-hero h1 {
    font-size: 28px;
  }
  
  .faq-page .faq-hero p {
    font-size: 16px;
  }
  
  .faq-page .faq-intro h2 {
    font-size: 24px;
  }
  
  .faq-page .home-cta h2 {
    font-size: 28px;
  }
  
  .faq-page .home-cta p {
    font-size: 16px;
  }
  
  .faq-page .home-cta a {
    padding: 14px 32px;
    font-size: 15px;
  }
  
  .faq-page .faq-category-list {
    flex-direction: column;
    align-items: center;
  }
  
  .faq-page .faq-category-list li {
    width: 100%;
    text-align: center;
  }
}

/* ===== FAQ Single Page Styles ===== */

/* FAQ Single Hero */
.faq-single .faq-hero {
  background: var(--jm-color-primary);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-single .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/banner-1.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

.faq-single .faq-hero .home-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-single .faq-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.faq-single .faq-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* FAQ Single Content */
.faq-single-content {
  padding: 60px 0;
  background: white;
}

.faq-single-content .home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

/* FAQ Single Main Content */
.faq-single-main {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-single-article {
  font-size: 16px;
  line-height: 1.8;
  color: var(--jm-color-text);
}

.faq-single-content-area {
  margin-bottom: 40px;
}

.faq-single-content-area p {
  margin-bottom: 20px;
}

.faq-single-content-area h2 {
  font-size: 32px;
  margin: 30px 0 20px;
  color: var(--jm-color-primary);
}

.faq-single-content-area h3 {
  font-size: 24px;
  margin: 25px 0 15px;
  color: var(--jm-color-primary);
}

.faq-back-link {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.faq-back-link a {
  color: var(--jm-color-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-back-link a:hover {
  text-decoration: underline;
}

/* FAQ Single Sidebar */
.faq-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Related FAQs */
.related-faqs {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.related-faqs h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--jm-color-primary);
  font-weight: 700;
}

.related-faqs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-faqs-list li {
  margin-bottom: 15px;
}

.related-faqs-list li:last-child {
  margin-bottom: 0;
}

.related-faqs-list a {
  color: var(--jm-color-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.related-faqs-list a:hover {
  color: var(--jm-color-primary);
  text-decoration: underline;
}

/* FAQ Categories in Sidebar */
.faq-single-categories {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-single-categories h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--jm-color-primary);
  font-weight: 700;
}

.faq-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-categories-list li {
  margin-bottom: 15px;
}

.faq-categories-list li:last-child {
  margin-bottom: 0;
}

.faq-categories-list a {
  color: var(--jm-color-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.faq-categories-list a:hover {
  color: var(--jm-color-primary);
  text-decoration: underline;
}

/* FAQ Item Link */
.faq-item-link {
  color: var(--jm-color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-item-link:hover {
  color: var(--jm-color-primary-dark);
  text-decoration: underline;
}

/* FAQ Breadcrumb */
section.faq-breadcrumb {
  background-color: #ffffff !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: var(--jm-color-text) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
}

/* Ensure consistent styling on single FAQ pages */
body.faq-single section.faq-breadcrumb {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure text color is visible */
section.faq-breadcrumb .breadcrumb-nav {
  color: var(--jm-color-text) !important;
}

section.faq-breadcrumb .breadcrumb-nav a {
  color: var(--jm-color-primary) !important;
}

section.faq-breadcrumb .breadcrumb-nav span.current-page {
  color: var(--jm-color-text) !important;
  font-weight: 500 !important;
}

section.faq-breadcrumb .home-inner {
  max-width: 1200px !important;
  margin: 0 0 0 20px !important;
  padding: 0 20px !important;
  color: var(--jm-color-text) !important;
  background-color: #ffffff !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

.breadcrumb-nav {
  font-size: 14px;
  color: var(--jm-color-text) !important; /* Force text color */
  text-align: left !important;
  max-width: 1200px;
}

.breadcrumb-nav a {
  color: var(--jm-color-primary) !important; /* Force link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: var(--jm-color-accent) !important; /* Force hover color */
  text-decoration: underline;
}

.current-page {
  color: var(--jm-color-text) !important; /* Force current page color */
  font-weight: 500;
}

/* FAQ Single Header */
.faq-single-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--jm-color-accent);
}

.faq-single-icon {
  margin-top: 5px;
}

.faq-single-header h2 {
  font-size: 32px;
  margin: 0;
  color: var(--jm-color-primary);
  line-height: 1.3;
}

/* Sidebar Section Header */
.sidebar-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-section-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--jm-color-primary);
}

.sidebar-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ CTA Box */
.faq-cta-box {
  background: linear-gradient(135deg, var(--jm-color-primary) 0%, var(--jm-color-primary-dark) 100%);
  color: white;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.faq-cta-content {
  position: relative;
  z-index: 1;
}

.faq-cta-box h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
}

.faq-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
}

.faq-cta-box .cta-button {
  display: inline-block;
  background: white;
  color: var(--jm-color-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-cta-box .cta-button:hover {
  background: var(--jm-color-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.faq-cta-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 20px;
  opacity: 0.2;
}

/* FAQ CTA Section */
.home-cta {
  background: var(--jm-color-primary);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/banner-1.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.home-cta .home-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.home-cta h2 {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.cta-button-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: var(--jm-color-accent);
  color: white;
  border-color: var(--jm-color-accent);
}

.cta-button.primary:hover {
  background: transparent;
  color: var(--jm-color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-button.secondary:hover {
  background: white;
  color: var(--jm-color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* No Related FAQs */
.no-related-faqs {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background: var(--jm-color-bg-light);
  border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .faq-single-content .home-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 auto;
  }
  
  .faq-single-sidebar {
    order: -1;
  }
  
  .faq-single .faq-hero .home-inner,
  .home-cta .home-inner {
    margin: 0 auto;
  }
  
  /* Keep breadcrumb aligned left on mobile */
  section.faq-breadcrumb .home-inner {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .faq-single .faq-hero {
    padding: 60px 0;
  }
  
  .faq-single .faq-hero h1 {
    font-size: 36px;
  }
  
  .faq-single-main {
    padding: 20px;
  }
  
  .faq-single-sidebar {
    gap: 20px;
  }
  
  .related-faqs,
  .faq-single-categories {
    padding: 20px;
  }
  
  .faq-single-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .faq-single-header h2 {
    font-size: 28px;
  }
  
  .faq-breadcrumb .home-inner {
    padding: 0 15px;
  }
  
  .breadcrumb-nav {
    font-size: 13px;
  }
  
  .home-cta h2 {
    font-size: 32px;
  }
  
  .cta-button-container {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
  
  .faq-cta-box {
    padding: 20px;
  }
  
  .faq-cta-box h3 {
    font-size: 20px;
  }
}

/* ===== FAQ Accordion Styles ===== */

/* FAQ Accordion Section */
.faq-accordion-section {
  padding: 60px 0;
  background: #f8fafc;
}

.faq-accordion-section .home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* FAQ Accordion Title */
.faq-accordion-title {
  text-align: center;
  font-size: 36px;
  color: #0B3C5D;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

/* FAQ Accordion Container */
.faq-accordion-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* FAQ Accordion Item */
.faq-accordion-item {
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faq-accordion-item:last-child {
  border-bottom: none;
}

/* FAQ Accordion Question */
.faq-accordion-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
  outline: none;
}

.faq-accordion-question:focus {
  background: #f8fafc;
  outline: 2px solid #1F7A8C;
  outline-offset: -2px;
}

.faq-accordion-question:hover {
  background: #f8fafc;
}

.faq-accordion-question-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0B3C5D;
  line-height: 1.4;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-accordion-question-number {
  font-weight: 600;
  color: #1F7A8C;
  font-size: 18px;
  line-height: 1.4;
  min-width: 30px;
}

/* FAQ Accordion Toggle Button */
.faq-accordion-toggle {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #0B3C5D;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-accordion-toggle:hover {
  background: rgba(11, 60, 93, 0.1);
  color: #1F7A8C;
}

.faq-accordion-toggle:focus {
  background: rgba(11, 60, 93, 0.1);
  color: #1F7A8C;
  outline: 2px solid #1F7A8C;
  outline-offset: 2px;
}

.faq-accordion-toggle[aria-expanded="true"] {
  transform: rotate(45deg);
  color: #1F7A8C;
}

.faq-accordion-toggle svg {
  transition: all 0.3s ease;
}

/* FAQ Accordion Answer */
.faq-accordion-answer {
  background: white;
  transition: all 0.3s ease;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.faq-accordion-answer-content {
  padding: 0 32px 24px;
  color: #4A5568;
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  gap: 12px;
}

.faq-accordion-answer-label {
  font-weight: 600;
  color: #1F7A8C;
  font-size: 16px;
  line-height: 1.6;
  min-width: 30px;
  flex-shrink: 0;
  padding-top: 4px;
}

.faq-accordion-answer-content p {
  margin: 0 0 12px 0;
}

.faq-accordion-answer-content p:last-child {
  margin-bottom: 0;
}

/* FAQ Accordion List */
.faq-accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* FAQ Accordion Empty State */
.faq-accordion-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #9CA3AF;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.faq-accordion-empty-state svg {
  opacity: 0.5;
}

.no-faqs-found {
  margin: 0;
  font-style: italic;
}

/* View More Link */
.faq-accordion-view-more {
  text-align: center;
  margin-top: 40px;
}

.faq-accordion-view-more .view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0B3C5D;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-accordion-view-more .view-more-link:hover {
  background: #1F7A8C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-accordion-view-more .view-more-link:focus {
  outline: 2px solid #1F7A8C;
  outline-offset: 2px;
}

/* FAQ Item */
.faq-accordion-item {
  background: white;
  transition: all 0.3s ease;
}

.faq-accordion-item:last-child .faq-accordion-question {
  border-bottom: none;
}

/* Responsive Design for FAQ Accordion */
@media (max-width: 768px) {
  .faq-accordion-section {
    padding: 40px 0;
  }
  
  .faq-accordion-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .faq-accordion-question {
    padding: 20px 24px;
  }
  
  .faq-accordion-question h3 {
    font-size: 16px;
  }
  
  .faq-accordion-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
  }
  
  .faq-accordion-toggle {
    width: 36px;
    height: 36px;
  }
  
  .faq-accordion-toggle svg {
    width: 20px;
    height: 20px;
  }
}

/* Additional Improvements */
.faq-single-content-area {
  margin-bottom: 40px;
  line-height: 1.8;
}

.faq-single-content-area p {
  margin-bottom: 20px;
  color: var(--jm-color-text);
}

.faq-single-content-area h2 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: var(--jm-color-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.faq-single-content-area h3 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--jm-color-primary);
}

.faq-back-link {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.faq-back-link a {
  color: var(--jm-color-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.faq-back-link a:hover {
  color: var(--jm-color-accent);
  text-decoration: none;
  transform: translateX(-5px);
}

/* Ensure hero styles apply correctly */
.faq-single .faq-hero {
  background: var(--jm-color-primary);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-single .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/banner-1.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

.faq-single .faq-hero h1 {
  color: white;
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.faq-single .faq-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
