/* FAQ Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #f0f7ff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  background-color: #f0f7ff !important;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #2e82ff;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 5px;
}

/* FAQ Hero Section */
.faq-hero {
  padding: 120px 0 30px;
  background-color: #f0f7ff;
  position: relative;
}

.faq-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.breadcrumb {
  font-size: 14px;
  color: #888;
  text-align: right;
  margin-top: 10px;
}

.breadcrumb a {
  color: #2e82ff;
  text-decoration: none;
}

/* Tab Filters */
.faq-tabs {
  padding: 30px 0 80px;
  background-color: #f0f7ff;
}

.tab-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
  position: sticky;
  top: 80px;
  padding: 15px 0;
  background-color: #f0f7ff;
  z-index: 900;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
  background-color: transparent;
  border: 1px solid #d0e0ff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.tab-btn:hover {
  background-color: #e8f1ff;
}

.tab-btn.active {
  background-color: #2e82ff;
  color: white;
  border-color: #2e82ff;
}

/* Tab Content */
.tab-content {
  margin-top: 20px;
}

/* Anchor point for smooth scrolling */
.anchor-point {
  height: 0;
  margin-top: -80px;
  padding-top: 80px;
  visibility: hidden;
  pointer-events: none;
}

.category-section {
  margin-bottom: 50px;
  scroll-margin-top: 150px;
}

.tab-header {
  background-color: #2e82ff;
  padding: 12px 25px;
  border-radius: 5px;
  color: white;
  margin-bottom: 20px;
}

.tab-header h2 {
  font-size: 18px;
  font-weight: 500;
}

/* FAQ Items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.expand-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.expand-icon svg {
  width: 100%;
  height: 100%;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer pre {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px;
}

.faq-item.active .expand-icon {
  transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .tab-filters {
    flex-wrap: wrap;
    justify-content: flex-start;
    position: sticky;
    top: 70px;
  }

  nav ul li {
    margin-left: 15px;
  }

  .tab-btn {
    margin-bottom: 10px;
  }

  .faq-hero h1 {
    font-size: 3rem;
  }

  .category-section {
    scroll-margin-top: 120px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    font-size: 20px;
  }

  nav ul li {
    margin-left: 10px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .tab-filters {
    top: 60px;
  }

  .faq-hero {
    padding: 100px 0 20px;
  }

  .faq-hero h1 {
    font-size: 2.5rem;
  }

  .tab-btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .category-section {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 480px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  .header-left,
  .header-right {
    width: 100%;
    justify-content: center;
  }

  .header-right {
    margin-top: 10px;
  }

  nav ul {
    justify-content: center;
  }

  .tab-filters {
    top: 100px;
    padding: 10px 0;
  }

  .faq-hero {
    padding: 160px 0 20px;
  }

  .faq-hero h1 {
    font-size: 2rem;
    text-align: center;
  }

  .breadcrumb {
    text-align: center;
  }

  .tab-filters {
    justify-content: center;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .category-section {
    scroll-margin-top: 150px;
  }
}

/* Footer Styles */
.footer {
  background-color: #f9fbff;
  padding: 80px 0 0;
  border-top: 1px solid #e5e9f2;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-nav-column {
  flex: 1;
  min-width: 200px;
}

.footer-nav-column h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-nav-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: #3e80ff;
}

.footer-nav-column ul {
  list-style: none;
}

.footer-nav-column li {
  margin-bottom: 12px;
}

.footer-nav-column a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-nav-column a:hover {
  color: #3e80ff;
}

.footer-bottom {
  border-top: 1px solid #e5e9f2;
  padding: 30px 0;
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #999;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f2f5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #3e80ff;
  color: #fff;
  transform: translateY(-3px);
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-logo {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }

  .footer-nav-column {
    width: 100%;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 20px;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer-container {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-nav {
    gap: 25px;
  }

  .footer-nav-column h3 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}