/* style/about.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #E0E0E0;
  --text-dark: #333333;
  --background-light: #F5F5F5;
  --background-dark: #1A2B42;
  --border-color: #3A475C;
  --button-hover-dark: #C9A000;
}

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

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

.page-about section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about h1, .page-about h2, .page-about h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-about h2 {
  font-size: 2.5em;
  position: relative;
  padding-bottom: 15px;
}

.page-about h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-about .section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
  color: var(--text-dark);
}

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

.page-about .cta-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about .large-button {
  padding: 18px 50px;
  font-size: 1.4em;
}

/* Hero Section */
.page-about .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 100px;
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-about .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-about .hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

.page-about .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-about .hero-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about .hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

/* Introduction Section */
.page-about .introduction-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-about .introduction-section h3 {
  text-align: left;
  color: var(--primary-color);
}

.page-about .introduction-section p {
  text-align: left;
}

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

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

.page-about .content-grid .image-content {
  text-align: center;
}

.page-about .content-grid .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-about .why-choose-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding-bottom: 80px;
}

.page-about .why-choose-section h2 {
  color: var(--secondary-color);
}

.page-about .why-choose-section .section-description {
  color: var(--text-light);
}

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

.page-about .advantage-item {
  background-color: #2A3B50;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about .advantage-item:hover {
  transform: translateY(-8px);
  background-color: #3A4C62;
}

.page-about .advantage-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about .advantage-item p {
  color: var(--text-light);
  font-size: 1em;
}

.page-about .advantage-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* History Section */
.page-about .history-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-about .history-section h2 {
  color: var(--primary-color);
}

.page-about .history-section h3 {
  text-align: left;
  color: var(--primary-color);
}

.page-about .history-section p {
  text-align: left;
}

/* Commitment Section */
.page-about .commitment-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding-bottom: 80px;
}

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

.page-about .commitment-section .section-description {
  color: var(--text-light);
}

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

.page-about .commitment-item {
  background-color: #2A3B50;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about .commitment-item:hover {
  transform: translateY(-8px);
  background-color: #3A4C62;
}

.page-about .commitment-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about .commitment-item p {
  color: var(--text-light);
  font-size: 1em;
}

.page-about .commitment-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Join Us Section */
.page-about .join-us-section {
  text-align: center;
  background-color: var(--background-light);
  padding: 80px 20px;
}

.page-about .join-us-section h2 {
  color: var(--primary-color);
}

.page-about .join-us-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-dark);
}

.page-about .join-us-section .small-text {
  font-size: 0.9em;
  margin-top: 20px;
  color: #666;
}

/* FAQ Section */
.page-about .faq-section {
  background-color: var(--background-dark);
  padding-bottom: 80px;
}

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

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

.page-about .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2A3B50;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about .faq-question:hover {
  background: #3A4C62;
}

.page-about .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--text-light);
  text-align: left;
}

.page-about .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-about .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1A2B42;
  color: var(--text-light);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about h1 {
    font-size: 2.5em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.5em;
  }
  .page-about .content-grid {
    grid-template-columns: 1fr;
  }
  .page-about .content-grid.reverse-grid {
    grid-template-columns: 1fr;
  }
  .page-about .content-grid .image-content {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
  .page-about .hero-image {
    max-height: 350px;
  }
  .page-about .hero-content p {
    font-size: 1.1em;
  }
  .page-about .advantages-grid, .page-about .commitments-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-about .faq-question h3 {
    font-size: 1.1em;
  }
  .page-about .faq-question {
    padding: 18px 20px;
  }
  .page-about .faq-answer {
    padding: 0 20px;
  }
  .page-about .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-about section {
    padding: 40px 0;
  }
  .page-about h1 {
    font-size: 2em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.3em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about .hero-section {
    padding: 60px 15px 80px;
  }
  .page-about .hero-image {
    max-height: 250px;
  }
  .page-about .hero-content p {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-about .large-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }
  .page-about .advantage-item, .page-about .commitment-item {
    padding: 25px;
  }
  .page-about .advantage-icon, .page-about .commitment-icon {
    width: 90px;
    height: 90px;
  }
  .page-about .faq-question h3 {
    font-size: 1em;
  }
  .page-about .faq-toggle {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-about .container {
    padding: 0 15px;
  }
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about .hero-image {
    max-height: 180px;
  }
  .page-about .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-about .advantages-grid, .page-about .commitments-list {
    grid-template-columns: 1fr;
  }
  .page-about .faq-question h3 {
    padding-right: 10px;
  }
}