/* style/about.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E34234;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

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

.page-about-hero {
  position: relative;
  width: 100%;
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d80 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-about-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: 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-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about-hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-light);
  line-height: 1.2;
}

.page-about-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-about-hero-cta:hover {
  background: #c7372b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

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

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

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

.page-about-subtitle {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-about-cta-inline {
  display: inline-block;
  margin-top: 15px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-cta-inline:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

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

.page-about-grid-reverse .page-about-grid-item:first-child {
  order: 2;
}

.page-about-grid-reverse .page-about-grid-item:last-child {
  order: 1;
}

.page-about-image-content {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-about-list li {
  background-color: var(--background-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about-list-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

.page-about-advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about-advantages-list li {
  background-color: var(--background-white);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.page-about-advantages-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about-advantages-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.page-about-cta-wrapper {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--primary-color);
  border-radius: 12px;
  color: var(--text-light);
}

.page-about-cta-wrapper .page-about-paragraph {
  color: var(--text-light);
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-main-cta {
  display: inline-block;
  padding: 20px 50px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-about-main-cta:hover {
  background: #c7372b;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section Specific Styles */
.page-about-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--background-light);
}

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

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

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

.faq-answer p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  text-align: justify;
}

.page-about-faq-cta {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  font-size: 0.95em;
}

.page-about-faq-cta:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-hero-title {
    font-size: 2.5em;
  }
  .page-about-hero-description {
    font-size: 1.1em;
  }
  .page-about-section-title {
    font-size: 2em;
  }
  .page-about-subtitle {
    font-size: 1.5em;
  }
  .page-about-paragraph {
    font-size: 1em;
  }
  .page-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about-grid-reverse .page-about-grid-item:first-child {
    order: initial;
  }
  .page-about-grid-reverse .page-about-grid-item:last-child {
    order: initial;
  }
  .page-about-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-about-main-cta {
    font-size: 1.2em;
    padding: 15px 40px;
  }
}

@media (max-width: 768px) {
  .page-about-hero {
    padding: 40px 0;
  }
  .page-about-hero-image {
    margin-bottom: 30px;
  }
  .page-about-hero-title {
    font-size: 2em;
  }
  .page-about-hero-description {
    font-size: 1em;
  }
  .page-about-hero-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-about-section {
    padding: 60px 0;
  }
  .page-about-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-subtitle {
    font-size: 1.3em;
  }
  .page-about-list li {
    padding: 20px;
  }
  .page-about-list-title {
    font-size: 1.3em;
  }
  .page-about-cta-wrapper {
    padding: 30px 20px;
  }
  .page-about-cta-wrapper .page-about-paragraph {
    font-size: 1.1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-title {
    font-size: 1.8em;
  }
  .page-about-hero-description {
    font-size: 0.95em;
  }
  .page-about-hero-cta {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-about-section-title {
    font-size: 1.5em;
  }
  .page-about-paragraph {
    font-size: 0.95em;
  }
  .page-about-list {
    grid-template-columns: 1fr;
  }
  .page-about-advantages-title {
    font-size: 1.4em;
  }
  .page-about-cta-wrapper .page-about-paragraph {
    font-size: 1em;
  }
  .page-about-main-cta {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}