/* style/customer-support.css */

/* Reset & Base Styles */
.page-customer-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body, but good to define for sections */
}

.page-customer-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-customer-support__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffc107; /* Highlight with auxiliary color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-customer-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #007bff; /* Main brand color */
  border-radius: 2px;
}

.page-customer-support__section-intro {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-customer-support__btn-primary,
.page-customer-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-customer-support__btn-primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #121212; /* Dark text for light background */
  border: 2px solid #ffc107;
}

.page-customer-support__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-customer-support__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color */
  border: 2px solid #ffc107;
}

.page-customer-support__btn-secondary:hover {
  background-color: #ffc107;
  color: #121212;
  transform: translateY(-2px);
}

.page-customer-support__contact-link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-customer-support__contact-link:hover {
  color: #ffc107;
  text-decoration: underline;
}

/* Hero Banner Section */
.page-customer-support__hero-banner {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Main brand color gradient */
  padding: 100px 0 80px 0; /* Add padding-top for fixed header */
  text-align: center;
  color: #ffffff;
  margin-top: 0; /* Ensures no extra margin */
}

.page-customer-support__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-customer-support__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Contact Channels Section */
.page-customer-support__contact-channels {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-customer-support__channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-customer-support__channel-card {
  background-color: #282828; /* Darker card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-customer-support__channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-customer-support__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-customer-support__card-title {
  font-size: 24px;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-customer-support__card-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Common Issues Section */
.page-customer-support__common-issues {
  padding: 80px 0;
  background-color: #121212;
}

.page-customer-support__issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-customer-support__issue-item {
  background-color: #282828;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-customer-support__issue-title {
  font-size: 22px;
  color: #007bff; /* Main brand color for titles */
  margin-bottom: 15px;
}

.page-customer-support__issue-text {
  font-size: 16px;
  color: #cccccc;
}

/* Commitments Section */
.page-customer-support__commitments {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-customer-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-customer-support__commitment-card {
  background-color: #282828;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-customer-support__commitment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-customer-support__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-customer-support__faq-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-customer-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-customer-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-customer-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #282828;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-customer-support__faq-question:hover {
  background-color: #3a3a3a;
}

.page-customer-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-customer-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Auxiliary color */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-customer-support__faq-item.active .page-customer-support__faq-toggle {
  color: #007bff; /* Main brand color */
  transform: rotate(45deg); /* Plus to X for active */
}

.page-customer-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1a1a1a;
  color: #cccccc;
}

.page-customer-support__faq-item.active .page-customer-support__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* CTA Section */
.page-customer-support__cta-section {
  padding: 60px 0;
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  text-align: center;
}

.page-customer-support__cta-section .page-customer-support__container {
  background-color: #007bff; /* Ensure container also has main brand color */
  padding: 40px;
  border-radius: 12px;
}

.page-customer-support__cta-title {
  font-size: 38px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-customer-support__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-customer-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-customer-support__hero-title {
    font-size: 40px;
  }

  .page-customer-support__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-customer-support__hero-banner {
    padding: 80px 0 60px 0; /* Adjust padding-top for fixed header on mobile */
  }

  .page-customer-support__hero-title {
    font-size: 32px;
  }

  .page-customer-support__hero-description,
  .page-customer-support__section-intro,
  .page-customer-support__card-text,
  .page-customer-support__issue-text,
  .page-customer-support__cta-description,
  .page-customer-support__faq-answer p {
    font-size: 15px;
  }

  .page-customer-support__section-title {
    font-size: 28px;
  }

  .page-customer-support__contact-channels,
  .page-customer-support__common-issues,
  .page-customer-support__commitments,
  .page-customer-support__faq-section,
  .page-customer-support__cta-section {
    padding: 60px 0;
  }

  .page-customer-support__channel-grid,
  .page-customer-support__issue-grid,
  .page-customer-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-customer-support__channel-card,
  .page-customer-support__issue-item,
  .page-customer-support__commitment-card {
    padding: 25px;
  }

  .page-customer-support__card-title {
    font-size: 20px;
  }

  .page-customer-support__issue-title {
    font-size: 19px;
  }

  .page-customer-support__faq-question {
    padding: 15px 20px;
  }

  .page-customer-support__faq-question h3 {
    font-size: 16px;
  }

  .page-customer-support__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-customer-support__faq-item.active .page-customer-support__faq-answer {
    padding: 15px 20px !important;
  }

  .page-customer-support__cta-title {
    font-size: 30px;
  }

  .page-customer-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-customer-support__btn-primary,
  .page-customer-support__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  /* General image responsive styles for mobile */
  .page-customer-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-customer-support__container,
  .page-customer-support__hero-container,
  .page-customer-support__channel-card,
  .page-customer-support__issue-item,
  .page-customer-support__commitment-card,
  .page-customer-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding already handled by sections, avoid double padding on these */
  }
}

/* Ensure no image filter properties are used */
.page-customer-support img {
  filter: none !important;
}