/* style/support.css */
:root {
  --primary-color: #0047AB; /* Deep Ocean Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-medium: #f1f3f5;
  --bg-dark: #0d0d0d; /* Assuming --dark-bg-1 from shared.css is dark */
}

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure body background is respected */
}

/* Padding for fixed header */
.page-support__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
  }
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #002D72); /* Darker gradient for hero */
  color: var(--text-light);
  overflow: hidden;
}

.page-support__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-support__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-support__hero-subtitle .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-support__cta-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Background color specific text colors */
.page-support__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-support__light-bg {
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-support__medium-bg {
  background: var(--bg-medium);
  color: var(--text-dark);
}

.page-support__introduction-section {
  padding: 60px 0;
}

.page-support__introduction-section p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: justify;
}

.page-support__introduction-section .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

.page-support__faq-section .page-support__section-title {
  color: var(--primary-color);
}

.page-support__faq-section .page-support__section-description {
  color: var(--text-dark);
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-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 20px;
  opacity: 0;
}

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

.page-support__faq-answer p {
  color: var(--text-dark);
}

.page-support__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-support__faq-answer a:hover {
  color: #002D72;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:active {
  background: #eeeeee;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Visual cue for collapse */
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
}

.page-support__contact-section .page-support__section-title,
.page-support__contact-section .page-support__section-description {
  color: var(--text-light);
}

.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__contact-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-support__contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-support__contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-support__contact-card-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.page-support__contact-card .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--bg-light);
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-support__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
}

.page-support__resources-section .page-support__section-title {
  color: var(--primary-color);
}

.page-support__resources-section .page-support__section-description {
  color: var(--text-dark);
}

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

.page-support__resource-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.page-support__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-support__resource-card .page-support__card-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-support__resource-card .page-support__card-description {
  font-size: 0.95em;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Security Section */
.page-support__security-section {
  padding: 60px 0;
}

.page-support__security-section .page-support__section-title,
.page-support__security-section .page-support__section-description {
  color: var(--text-light);
}

.page-support__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__security-list li {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.5;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__security-icon {
  width: 60px;
  height: auto;
  margin-right: 20px;
  flex-shrink: 0;
  max-width: 100%;
}

.page-support__security-section .page-support__link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-support__security-section .page-support__link:hover {
  color: #FFC107;
}

/* General link styling */
.page-support__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: #002D72;
  text-decoration: underline;
}

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

  .page-support__hero-subtitle {
    font-size: 1.2em;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__hero-section {
    padding-top: 140px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-support__container {
    padding: 20px 15px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-support__introduction-section p {
    font-size: 1em;
  }

  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-support__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-support__faq-answer {
    padding: 0 15px;
  }
  
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }

  .page-support__contact-card {
    padding: 20px;
  }

  .page-support__contact-icon {
    width: 80px;
  }

  .page-support__contact-card-title {
    font-size: 1.3em;
  }

  .page-support__contact-card-description {
    font-size: 0.9em;
  }

  .page-support__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-support__resource-image {
    height: 180px;
  }

  .page-support__resource-card .page-support__card-title {
    font-size: 1.1em;
  }

  .page-support__resource-card .page-support__card-description {
    font-size: 0.85em;
  }

  .page-support__security-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    font-size: 1em;
  }

  .page-support__security-icon {
    width: 50px;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

  .page-support__hero-subtitle {
    font-size: 0.9em;
  }

  .page-support__section-title {
    font-size: 1.5em;
  }

  .page-support__faq-question h3 {
    font-size: 0.95em;
  }
}