/* FAQ Main Container */
.faq-container {
    max-width: 900px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Hero Banner */
.faq-hero-banner {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1rem 0 2rem;
}
.faq-search-box .search-container {
  position: relative;
  display: inline-block;
}

.faq-search-box input[type="search"] {
  padding: 8px 30px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px; /* Adjust width as needed */
}

.faq-search-box .fas.fa-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.faq-hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-hero-title {
    font-size: 36px !important;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0 !important;
}

.faq-hero-description {
    color: white;
    font-size: 1.125rem;
}

/* FAQ Sections */
.faq-section-title {
    font-size:20px !important;
    font-weight: 700 !important;
    color: #1f2937;
    margin-bottom: 1rem;
}

/* FAQ Topics Grid */
.faq-topics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-topic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
        text-decoration: none !important;
}

.faq-topic-image {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.faq-topic-image img {
    width: 100%;
    height: auto;
}

.faq-topic-name {
    font-size: 0.875rem;
    text-align: center;
    color: rgb(58, 79, 102);
    text-decoration: none;
}

/* FAQ Tags */
.faq-tags-container {
    margin-bottom: 2rem;
}

.faq-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.faq-tag , .faq-tag:focus , .faq-tag:hover {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-left: 10px;
text-decoration: none !important;
    color: #3a4f66 !important;
}

/* FAQ Header */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-search-box {
    position: relative;
}

.faq-search-box input {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.faq-search-box button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
}

.faq-article-count {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem !important;
}
.useful-link , .useful-link:hover{
        color: #4b5563;
    text-decoration: none !important;
    font-size: 16px;
}
.useful-link{
color: #374151 !important;
}
/* FAQ Categories */
.faq-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.faq-category-item-link{
text-decoration: none !important;
color: 
rgb(58, 79, 102) !important;
}
.faq-category-item {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
        height: 100px;
    justify-content: center;
}

.faq-category-icon {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #4b5563;
}

.faq-category-name {
    font-size: 0.875rem;
    text-align: center;
}

.faq-email-us {
    text-align: center;
    margin-bottom: 0.5rem;
}

.faq-email-text {
    color: #9ca3af;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
        border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.faq-email-button , .faq-email-button:hover , .faq-email-button:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
        color: rgb(58, 79, 102);
}

.faq-email-button i {
    margin-right: 0.25rem;
}

/* FAQ Content */
.faq-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-content-section h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-content-section h3 i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.faq-content-section ul {
    list-style: none;
}

.faq-content-section li {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

/* FAQ Feedback */
.faq-feedback {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-feedback p {
    font-size: 0.875rem;
    color: #4b5563;
}

.faq-feedback-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-feedback-button {
    display: flex;
    align-items: center;
}

.faq-feedback-button span {
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.faq-feedback-button button {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

/* FAQ Responsive Styles */
@media (max-width: 1024px) {
    .faq-topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-content-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-topics-grid {
        grid-template-columns: 1fr;
                display: flex;
    }
    
    .faq-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-hero-title {
        font-size: 1.5rem;
    }
    
    .faq-hero-description {
        font-size: 1rem;
    }
}


/* detail page */
.detail-page-faq-container{
        max-width: 1150px !important;
    width: 100%;
    margin: 0 auto;
     padding: 80px 20px 80px 20px;
}

.faq-toc{
    max-width: 450px;
    width: 100%;
    margin-right: 30px;
}
.inner-faq-toc{
    background-color: #f3f4f6;
        padding: 20px;
        border-radius: 10px;
}
   .faq-toc ul { list-style: none; padding: 2px 0 0 0; margin: 0;}

   @media(max-width:600px){
    .faq-toc{
   max-width: 100%;
    }
    .faq-layout{
            flex-direction: column;
    }
     
   }
   .inner-faq-toc h2{
    color:#1f2937;
    font-size: 18px;
   }
   .faq-subcategory a , .faq-subcategory a:hover{
    margin-left: 16px !important;
    color: rgb(107 114 128) !important;
   }
   .inner-faq-toc li > a{
    color:#374151;
    font-weight: 500;
    margin-bottom: 10px;
   }
   .faq-toc li { margin-bottom: 10px; }
   #content{
background-color: #fff;
   }
   .inner-faq-toc .active{
    color: #ffcc00 !important;
    font-weight: 700 !important;
   }



        .accorden-container {
      width: 100%;
      margin: auto;
    }

    .accorden-item  {
      border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    }

    .accorden-header {
        background-color: #fff;
    cursor: pointer;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
        border-bottom: 1px solid #d6d6d6;
    display: flex;
      justify-content: space-between;
    align-items: center;
    position: relative;
    }

    .accorden-content {
      max-height: 0;
      overflow: hidden;
      background-color: #fff;
      padding: 0 15px;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .accorden-content p {
      margin: 10px 0;
    }

    .faq-search-input.faq-search-input-global{
        height: 40px !important;
    }
    .faq-search-wrapper-global{
            width: 250px;
    }
    .accorden-item.active .accorden-content {
      padding: 15px;
      max-height: 200px;
    }
    .faq-container { max-width: 1200px; margin: auto; padding: 20px; font-family: Arial, sans-serif; }
    .faq-header h1 { font-size: 32px; margin-bottom: 10px; }
    .faq-search-container { position: relative; max-width: 636px; width:100%;}
    .faq-search-input { width: 100%; padding: 10px 15px; border: 1px solid #ccc; border-radius: 4px; }
    .faq-search-results { background: #fff; border: 1px solid #ccc; border-radius: 4px; margin-top: 5px; display: none; max-height: 300px; overflow-y: auto; position: absolute; z-index: 10; width: 100%; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
    .faq-search-result-item { padding: 10px; border-bottom: 1px solid #eee; }
    .faq-search-result-item:hover { background-color: #f9f9f9; cursor: pointer; }
    .faq-no-results { padding: 10px; color: #999; }
    .faq-layout { display: flex; }
    .faq-toc h2 { font-size: 18px; margin-bottom: 20px;     font-weight: 500 !important;}
 
    .accorden-content p{
        color:rgb(55, 65, 81);
        font-size:16px;
        font-weight:400;
    }
    .no-results-faq{
        padding:0 !important;
    }

    .faq-content { flex-grow: 1; }
    .faq-section { margin-bottom: 40px; }
    .faq-section h2 { font-size: 24px; margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 5px; }
    .faq-item { margin-bottom: 20px; }
    .faq-question { font-weight: 500; }
    .faq-answer { padding-left: 20px; }
    .highlight { background-color: yellow; }
    .toc-divider { border-top: 1px solid #ccc; margin: 10px 0; }
    .faq-breadcrumbs , .faq-breadcrumbs a { margin-bottom: 15px; color: #909193; }
    .faq-breadcrumbs .separator { margin: 0 5px; }
    .all-faqs-section { display: none; }
    .faq-search-icon-detail{    position: absolute;
    right: 20px;
    top: 11px;}
    .faq-search-input{
            height: 45px !important;
    }
    .useful-links-section{
        padding-top:30px;
    }
    .useful-links-section h3{
        font-size: 18px !important;
        font-weight: 500;
    }
    .useful-links-list{
          padding-top:5px !important;
    }