/* style/about.css */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Amber/Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #0056b3; /* Darker shade of primary for contrast */
  --border-color: #e0e0e0;
}

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

.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: #ffffff;
}

.page-about-section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-about-section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-about-hero h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-about-hero p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #e0e0e0;
}

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

.page-about-cta-button:hover {
  background-color: #ffda6a; /* Lighter shade of secondary */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Blocks with Image */
.page-about-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 60px;
}

.page-about-content-block:last-child {
  margin-bottom: 0;
}

.page-about-content-block .page-about-text-content {
  flex: 1;
}

.page-about-content-block h3 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-content-block p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-about-content-block img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-about-image-right {
  order: 2;
}

.page-about-image-left {
  order: 1;
}

/* Values Grid */
.page-about-values-grid, .page-about-product-grid, .page-about-responsibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-value-item, .page-about-product-item, .page-about-responsibility-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-about-value-item:hover, .page-about-product-item:hover, .page-about-responsibility-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about-value-icon, .page-about-product-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about-value-item h3, .page-about-product-item h3, .page-about-responsibility-item h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-value-item p, .page-about-product-item p, .page-about-responsibility-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-color-dark);
}

/* FAQ Section */
.page-about-faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-about-faq-list .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-about-faq-list .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about-faq-list .faq-question:hover {
  background-color: var(--background-light);
}

.page-about-faq-list .faq-question h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

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

.page-about-faq-list .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-about-faq-list .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #fcfcfc;
}

.page-about-faq-list .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-about-faq-list .faq-answer p {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-color-dark);
  margin: 0;
}

.page-about-faq-cta {
  margin-top: 40px;
}

/* Conclusion Section */
.page-about-conclusion {
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-about-conclusion h2 {
  color: var(--secondary-color);
  font-size: 3.5em;
}

.page-about-conclusion p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-section-title {
    font-size: 2.5em;
  }

  .page-about-hero h1 {
    font-size: 3em;
  }

  .page-about-hero p {
    font-size: 1.1em;
  }

  .page-about-content-block {
    flex-direction: column;
    text-align: center;
  }

  .page-about-content-block img {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-about-image-right, .page-about-image-left {
    order: initial;
  }

  .page-about-content-block h3 {
    font-size: 2em;
  }

  .page-about-values-grid, .page-about-product-grid, .page-about-responsibility-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about-section {
    padding: 40px 0;
  }

  .page-about-section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about-hero {
    padding: 60px 0;
  }

  .page-about-hero h1 {
    font-size: 2.5em;
  }

  .page-about-hero p {
    font-size: 1em;
  }

  .page-about-cta-button {
    padding: 14px 30px;
    font-size: 1.1em;
  }

  .page-about-content-block {
    gap: 20px;
  }

  .page-about-content-block h3 {
    font-size: 1.8em;
  }

  .page-about-content-block p {
    font-size: 0.95em;
  }

  .page-about-values-grid, .page-about-product-grid, .page-about-responsibility-grid {
    grid-template-columns: 1fr;
  }

  .page-about-value-item, .page-about-product-item, .page-about-responsibility-item {
    padding: 25px;
  }

  .page-about-value-icon, .page-about-product-image {
    max-width: 200px;
    margin-bottom: 20px;
  }

  .page-about-faq-list .faq-question {
    padding: 15px 20px;
  }

  .page-about-faq-list .faq-question h3 {
    font-size: 1.1em;
  }

  .page-about-faq-list .faq-toggle {
    font-size: 24px;
  }

  .page-about-faq-list .faq-answer {
    padding: 0 20px;
  }

  .page-about-faq-list .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .page-about-conclusion h2 {
    font-size: 2.5em;
  }

  .page-about-conclusion p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-about-hero h1 {
    font-size: 2em;
  }

  .page-about-hero p {
    font-size: 0.9em;
  }

  .page-about-section-title {
    font-size: 1.8em;
  }

  .page-about-content-block h3 {
    font-size: 1.6em;
  }

  .page-about-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about-conclusion h2 {
    font-size: 2em;
  }

  .page-about-conclusion p {
    font-size: 1em;
  }
}