
/* Help Center Specific Styles */
.help-hero {
  background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-dark-blue));
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.help-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.help-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.help-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

/* Search Bar */
.help-search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.help-search-box {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--medium-gray);
  font-size: 1.1rem;
  z-index: 2;
}

.help-search-input {
  width: 100%;
  padding: 20px 60px 20px 60px;
  border: none;
  font-size: 1.1rem;
  color: var(--dark-gray);
  background: transparent;
  outline: none;
}

.help-search-input::placeholder {
  color: var(--medium-gray);
}

.search-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--medium-gray);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.search-clear:hover {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.search-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--light-gray);
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-result-item:hover {
  background: var(--light-gray);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-title {
  font-weight: 600;
  color: var(--primary-dark-blue);
  margin-bottom: 5px;
}

.search-result-desc {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* Categories Grid */
.help-categories {
  padding: 80px 0;
  background: var(--light-gray);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--dark-gray);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(30, 58, 138, 0.1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.8s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-gold), #e6c866);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.category-icon i {
  font-size: 1.5rem;
  color: var(--primary-dark-blue);
}

.category-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.category-card p {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.category-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(5px);
  color: var(--accent-gold);
}

/* Popular Articles */
.popular-articles {
  padding: 80px 0;
  background: white;
}

.popular-articles .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.article-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.article-card:hover {
  background: white;
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-card h4 {
  font-weight: 600;
  color: var(--primary-dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.article-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Support */
.help-contact {
  padding: 80px 0;
  background: var(--primary-dark-blue);
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold), #e6c866);
  color: var(--primary-dark-blue);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.help-btn:hover {
  background: linear-gradient(135deg, #e6c866, var(--accent-gold));
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .help-hero {
    padding: 100px 0 60px;
  }
  
  .help-title {
    font-size: 2.5rem;
  }
  
  .help-search-input {
    padding: 15px 50px 15px 50px;
    font-size: 1rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .category-card {
    padding: 2rem 1.5rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .help-search-container {
    padding: 0 1rem;
  }
  
  .category-card {
    padding: 1.5rem;
  }
  
  .category-icon {
    width: 50px;
    height: 50px;
  }
  
  .category-icon i {
    font-size: 1.2rem;
  }
  
  .category-card h3 {
    font-size: 1.2rem;
  }
}

/* Help Article Pages */
.breadcrumb-section {
  background: var(--light-gray);
  padding: 2rem 0;
  margin-top: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-dark-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb span {
  color: var(--medium-gray);
}

.help-content {
  padding: 4rem 0;
  background: white;
}

.help-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.help-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.help-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-gold);
}

.help-nav {
  list-style: none;
  padding: 0;
}

.help-nav li {
  margin-bottom: 0.5rem;
}

.help-nav a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--medium-gray);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.help-nav a:hover,
.help-nav a.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-dark-blue);
  transform: translateX(5px);
}

.help-main {
  max-width: 800px;
}

.help-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.help-intro {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
}

.help-article {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
}

.help-article:last-child {
  border-bottom: none;
}

.help-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
  scroll-margin-top: 120px;
}

.help-article p {
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.help-article ol,
.help-article ul {
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.help-article li {
  margin-bottom: 0.5rem;
}

.help-article a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.help-article a:hover {
  text-decoration: underline;
}

.help-tip,
.help-warning {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.help-tip {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
}

.help-warning {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
}

.help-tip i {
  color: #22c55e;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.help-warning i {
  color: #ef4444;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.help-tip strong,
.help-warning strong {
  color: var(--primary-dark-blue);
}

/* Responsive for help articles */
@media (max-width: 768px) {
  .help-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .help-sidebar {
    position: static;
    order: 2;
  }
  
  .help-main {
    order: 1;
  }
  
  .help-main h1 {
    font-size: 2rem;
  }
  
  .breadcrumb-section {
    padding: 1rem 0;
  }
}
