:root {
  --primary-blue: #2E86AB;
  --ocean-blue: #3DA5D9;
  --sky-blue: #87CEEB;
  --deep-blue: #1B4D72;
  --accent-orange: #FF6B35;
  --accent-gold: #FFD700;
  --purple-ui: #6B46C1;
  --dark-purple: #4C1D95;
  --success-green: #10B981;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--deep-blue);
  background: linear-gradient(135deg, #f0f4f8, #e6e9f0);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
}

/* ----------------------------------
  -- Header --
-------------------------------------*/

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--deep-blue);
  padding: 0.5rem 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #FF855E;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--deep-blue);
}

@media (max-width: 768px) {
  .nav-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 1rem;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, display 0.4s ease-in-out;
  }

  .nav-items.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-link {
    width: 90%;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
  }

  .action-buttons {
    flex-direction: column;
    width: 90%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}

/* ----------------------------------
  -- Main Content --
-------------------------------------*/

.main-content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 5%;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--deep-blue);
  text-align: center;
  margin-bottom: 1rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-search-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.faq-search-input {
  flex-grow: 1;
  max-width: 500px;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.2);
}

.faq-filter-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary-blue);
  background-color: var(--white);
  color: var(--primary-blue);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-filter-btn:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.faq-filter-btn.active {
  background-color: var(--primary-blue);
  color: var(--white);
  font-weight: bold;
}

.faq-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.faq-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-blue);
  cursor: pointer;
  text-align: left;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Arbitrarily large value for smooth transition */
}

.faq-answer p,
.faq-answer ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.faq-answer ul {
  list-style: none;
  padding-left: 0;
}

.faq-answer li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer li strong {
  color: var(--primary-blue);
}

.faq-answer li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.highlight-box {
  background: rgba(255, 107, 53, 0.1);
  border-left: 4px solid var(--accent-orange);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #333;
}

.highlight-box strong {
  color: var(--accent-orange);
}

.ph-plus, .ph-book, .ph-users, .ph-chart-bar, .ph-wallet {
  font-size: 1.5rem;
}
