/* style/support.css */

/* Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #017439; /* Using primary color for dark sections */
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-register-login-text: #FFFF00;
  --border-color: #e0e0e0;
}

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

/* Section base styles */
.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
  line-height: 1.2;
}

.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-dark);
}

/* Dark background sections */
.page-support__dark-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

/* Container for content width */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  overflow: hidden; /* Prevents image overflow */
}

.page-support__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
  z-index: 2;
}

.page-support__hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light); /* Hero is dark section */
}

.page-support__hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light); /* Hero is dark section */
}

.page-support__hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Limit image size within flex item */
  display: block;
  border-radius: 8px;
  object-fit: cover;
  filter: none; /* ENSURE NO CSS FILTERS */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button:hover {
  background: var(--button-register-bg); /* Use register color for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  background: var(--button-register-bg); /* Use register color for hover */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card styles */
.page-support__card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box; /* Ensure padding/border included in width */
  overflow: hidden; /* Hide overflowing content */
}

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

.page-support__card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  filter: none; /* ENSURE NO CSS FILTERS */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-support__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-support__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

/* Dark background card specific styles */
.page-support__dark-bg-card {
  background-color: var(--background-dark);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__dark-bg-card .page-support__card-title,
.page-support__dark-bg-card .page-support__card-title a,
.page-support__dark-bg-card .page-support__card-text {
  color: var(--text-light);
}

/* Why Us Section */
.page-support__why-us {
  padding: 80px 0;
}

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

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
}

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

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

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

/* FAQ container styles */
.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--secondary-color); /* White background for items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}