/* style/about.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-light: #FFFFFF;
  --text-dark: #1A1A1A;
  --background-light: #F8F8F8;
  --background-dark: #2C2C2C;
  --border-color: #E0E0E0;
}

.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-section:nth-of-type(even) {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about-section:nth-of-type(even) h2, .page-about-section:nth-of-type(even) h3 {
  color: var(--primary-color);
}

.page-about-section:nth-of-type(even) p {
  color: #CCCCCC;
}

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

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

.page-about h2 {
  font-size: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-about h3 {
  font-size: 1.8em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-about-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

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

.page-about-hero-image {
  width: 100%;
  height: 600px; /* Adjusted for larger visual impact */
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-about-hero-content {
  position: absolute;
  z-index: 2;
  color: var(--text-light);
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-about-hero-content h1 {
  color: var(--primary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-about-cta-button:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-about-intro {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-about-mission-vision {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about-mission-vision h2, .page-about-mission-vision h3 {
  color: var(--primary-color);
}

.page-about-mission-vision p {
  color: #CCCCCC;
}

.page-about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about-grid-item {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

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

.page-about-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-about-button:hover {
  background-color: #FFC107;
}

.page-about-values {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-about-value-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about-icon {
  font-size: 2.5em;
  color: var(--primary-color);
  display: block;
  margin-bottom: 15px;
}

.page-about-why-choose-us {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about-why-choose-us h2 {
  color: var(--primary-color);
}

.page-about-why-choose-us p {
  color: #CCCCCC;
}

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

.page-about-feature-list li {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-about-feature-list li p {
  color: #BBBBBB;
  font-size: 1em;
}

.page-about-feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about-cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about-cta-bottom p {
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-about-team-info {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

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

@media (min-width: 769px) {
  .page-about-team-info .page-about-grid {
    flex-direction: row-reverse; /* Swap order for desktop */
  }
}

.page-about-commitment {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

.page-about-commitment-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about-commitment-item p {
  color: #BBBBBB;
  font-size: 1em;
}

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

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

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

.page-about-faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
}

.faq-question:hover {
  background-color: #F5F5F5;
}

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

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

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

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

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

.faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-hero-content h1 {
    font-size: 2.8em;
  }
  .page-about-hero-content p {
    font-size: 1.1em;
  }
  .page-about h2 {
    font-size: 2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about-grid {
    flex-direction: column;
  }
  .page-about-grid-item {
    max-width: 100%;
  }
  .page-about-team-info .page-about-grid-item:first-child,
  .page-about-team-info .page-about-grid-item:last-child {
    order: unset;
  }
}

@media (max-width: 768px) {
  .page-about-hero-image {
    height: 450px;
  }
  .page-about-hero-content h1 {
    font-size: 2.2em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about p {
    font-size: 0.95em;
  }
  .page-about-values-grid, .page-about-feature-list, .page-about-commitment-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .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-image {
    height: 350px;
  }
  .page-about-hero-content h1 {
    font-size: 1.8em;
  }
  .page-about-hero-content p {
    font-size: 0.9em;
  }
  .page-about-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-about h1 {
    font-size: 2.5em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about-cta-bottom p {
    font-size: 1.2em;
  }
  .page-about-feature-icon, .page-about-commitment-icon {
    width: 80px;
    height: 80px;
  }
}