/* style/support.css */

/* CSS Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-yellow: #FFFF00;
  --card-border-color: #e0e0e0;
}

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Body background is light */
}

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

/* Section styles */
.page-support__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

/* Color contrast classes */
.page-support__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 60px 0;
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description,
.page-support__dark-section .page-support__faq-question h3 {
  color: var(--text-color-light);
}

.page-support__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 60px 0;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure no overflow from background elements if any */
}

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

.page-support__hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color-light);
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 18px;
  color: var(--text-color-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background-color: var(--button-register-bg); /* #C30808 */
  color: var(--button-text-yellow); /* #FFFF00 */
  border: 2px solid var(--button-register-bg);
}

.page-support__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--button-text-yellow); /* #FFFF00 */
  border: 2px solid var(--button-register-bg); /* Use register color for border */
}

.page-support__btn-secondary:hover {
  background-color: var(--button-register-bg);
  color: var(--button-text-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-link {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 16px;
}

.page-support__btn-link:hover {
  background-color: #005a2b;
  border-color: #005a2b;
  transform: translateY(-1px);
}

/* Card styles */
.page-support__card {
  background-color: var(--secondary-color);
  border: 1px solid var(--card-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color-dark);
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Channels Section */
.page-support__channels-grid,
.page-support__guides-grid,
.page-support__policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__channel-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__channel-title,
.page-support__guide-title,
.page-support__policy-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-support__channel-title a,
.page-support__guide-title a,
.page-support__policy-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-support__channel-title a:hover,
.page-support__guide-title a:hover,
.page-support__policy-title a:hover {
  text-decoration: underline;
}

.page-support__channel-text,
.page-support__guide-text,
.page-support__policy-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensures text takes available space */
}