/* style/about.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #B22222; /* Deep Red */
  --dark-bg: #1a1a1a; /* Very Dark Grey/Black */
  --medium-dark-bg: #2a2a2a;
  --light-text: #FFFFFF;
  --dark-text: #333333;
  --light-grey-bg: #f5f5f5;
  --border-color: #444;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--light-text);
  background-color: var(--dark-bg);
  line-height: 1.6;
}

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

.page-about a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section:nth-of-type(odd) {
  background-color: var(--medium-dark-bg);
}

.page-about-section h1,
.page-about-section h2,
.page-about-section h3,
.page-about-section h4 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-about-section h1 {
  font-size: 3.2em;
  color: var(--light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-section h2 {
  font-size: 2.5em;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-about-section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-about-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--light-text);
}

.page-about-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-about-btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-text);
}

.page-about-btn-primary:hover {
  background-color: #FFC000; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about-btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.page-about-btn-secondary:hover {
  background-color: #CC0000; /* Slightly darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #3a3a3a 100%);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.page-about-hero-content h1 {
  font-size: 3.8em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-about-hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-about-hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width as needed */
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Vision Grid */
.page-about-vision-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about-vision-item {
  flex: 1;
  background-color: var(--dark-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border-top: 5px solid var(--primary-color);
}

.page-about-vision-item h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.page-about-vision-item p {
  color: var(--light-text);
}

/* Advantages List */
.page-about-advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about-advantage-list li {
  background-color: var(--dark-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-about-advantage-list li img {
  width: 250px; /* Enforce min size */
  height: 180px; /* Enforce min size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid var(--primary-color);
}

.page-about-advantage-list li h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-about-advantage-list li p {
  color: var(--light-text);
  font-size: 1em;
  flex-grow: 1; /* Allows paragraphs to take available space */
}

/* FAQ Section */
.page-about-faq {
  background-color: var(--light-grey-bg);
  color: var(--dark-text);
}

.page-about-faq h2 {
  color: var(--secondary-color);
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #eee;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--dark-text);
  text-align: left;
}

.faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: var(--dark-text);
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  color: var(--dark-text);
}

/* Final CTA Section */
.page-about-cta-final {
  background: linear-gradient(90deg, var(--secondary-color), #8B0000);
  padding: 80px 0;
  color: var(--light-text);
}

.page-about-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-about-cta-content h2 {
  color: var(--light-text);
  font-size: 2.8em;
  margin-bottom: 15px;
}

.page-about-cta-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-about-cta-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-hero-content h1 {
    font-size: 3em;
  }
  .page-about-section h2 {
    font-size: 2em;
  }
  .page-about-vision-grid {
    flex-direction: column;
  }
  .page-about-advantage-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-about-advantage-list li img {
    width: 220px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .page-about-hero-content h1 {
    font-size: 2.5em;
  }
  .page-about-hero-content p {
    font-size: 1.1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section h2 {
    font-size: 1.8em;
  }
  .page-about-section h3 {
    font-size: 1.5em;
  }
  .page-about-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-advantage-list {
    grid-template-columns: 1fr;
  }
  .page-about-advantage-list li img {
    width: 200px;
    height: 150px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-about-cta-content h2 {
    font-size: 2em;
  }
  .page-about-cta-content p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-about-hero-content h1 {
    font-size: 2em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about-section h2 {
    font-size: 1.5em;
  }
  .page-about-section h3 {
    font-size: 1.3em;
  }
  .page-about-container {
    padding: 0 15px;
  }
  .page-about-advantage-list li img {
    width: 180px;
    height: 130px;
  }
}