/* style/about.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f4f4;
  --background-dark: #222222;
  --border-color: #e0e0e0;
  --accent-color: #dc3545; /* Red for emphasis */
}

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

.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-light);
}

.page-about .section-title {
  font-size: 3em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-about .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-about .cta-button:hover {
  background: #E5C100; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about .cta-button.secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  margin-left: 20px;
}

.page-about .cta-button.secondary:hover {
  background: #000000; /* Darker black */
}

.page-about .text-center {
  text-align: center;
}

/* Hero Banner */
.page-about .hero-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-about .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

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

.page-about .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #cccccc;
}

/* Mission & Vision */
.page-about .section-mission-vision {
  background-color: var(--background-light);
}

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

.page-about .grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about .grid-item:hover {
  transform: translateY(-5px);
}

.page-about .content-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-about .item-description {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-about .section-history .section-title, .page-about .section-history .section-description {
  color: var(--primary-color);
}

.page-about .section-history .section-title::after {
  background-color: var(--text-light);
}

.page-about .history-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-about .history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.page-about .timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.page-about .timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about .timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about .timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border: 4px solid var(--text-light);
  top: 27px;
  border-radius: 50%;
  z-index: 1;
}

.page-about .timeline-item:nth-child(odd)::after {
  right: -8px;
}

.page-about .timeline-item:nth-child(even)::after {
  left: -8px;
}

.page-about .timeline-year {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-about .timeline-content {
  font-size: 1em;
  color: #cccccc;
}

/* Core Values */
.page-about .section-values {
  background-color: var(--background-light);
}

.page-about .values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about .value-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about .value-item:hover {
  transform: translateY(-5px);
}

.page-about .value-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about .value-heading {
  font-size: 1.7em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about .value-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Products */
.page-about .section-products {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about .section-products .section-title, .page-about .section-products .section-description {
  color: var(--primary-color);
}

.page-about .section-products .section-title::after {
  background-color: var(--text-light);
}

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

.page-about .product-card {
  background: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-about .product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-about .product-title {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 15px 20px 0;
}

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

.page-about .product-title a:hover {
  text-decoration: underline;
}

.page-about .product-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 10px 20px 20px;
}

/* Services */
.page-about .section-services {
  background-color: var(--background-light);
}

.page-about .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about .service-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about .service-item:hover {
  transform: translateY(-5px);
}

.page-about .service-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about .service-heading {
  font-size: 1.7em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about .service-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Responsibility */
.page-about .section-responsibility {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about .section-responsibility .section-title, .page-about .section-responsibility .section-description {
  color: var(--primary-color);
}

.page-about .section-responsibility .section-title::after {
  background-color: var(--text-light);
}

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

.page-about .responsibility-item {
  background: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about .responsibility-text {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ */
.page-about .section-faq {
  background-color: var(--background-light);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
  border-color: var(--primary-color);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 25px;
}

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

.page-about .faq-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about .faq-button:hover {
  background: #E5C100;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Conclusion */
.page-about .section-conclusion {
  background: linear-gradient(135deg, var(--primary-color) 0%, #E5C100 100%);
  color: var(--secondary-color);
  text-align: center;
}

.page-about .section-conclusion .section-title {
  color: var(--secondary-color);
}

.page-about .section-conclusion .section-title::after {
  background-color: var(--secondary-color);
}

.page-about .section-conclusion .section-description {
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.page-about .section-conclusion .cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-about .section-conclusion .cta-button:hover {
  background: #000000;
  color: var(--primary-color);
}

.page-about .section-conclusion .cta-button.secondary {
  background: var(--text-light);
  color: var(--secondary-color);
}

.page-about .section-conclusion .cta-button.secondary:hover {
  background: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about .hero-title {
    font-size: 3em;
  }
  .page-about .hero-description {
    font-size: 1.1em;
  }
  .page-about .section-title {
    font-size: 2.5em;
  }
  .page-about .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }
  .page-about .timeline-item:nth-child(odd),
  .page-about .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  .page-about .history-timeline::before {
    left: 30px;
  }
  .page-about .timeline-item::after {
    left: 22px;
  }
  .page-about .timeline-item:nth-child(odd)::after {
    right: auto;
  }
  .page-about .cta-button.secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-about section {
    padding: 40px 0;
  }
  .page-about .hero-title {
    font-size: 2.5em;
  }
  .page-about .hero-description {
    font-size: 1em;
  }
  .page-about .section-title {
    font-size: 2em;
  }
  .page-about .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about .content-grid, .page-about .values-list, .page-about .products-grid, .page-about .service-grid, .page-about .responsibility-content {
    grid-template-columns: 1fr;
  }
  .page-about .hero-image {
    margin-bottom: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-about .hero-title {
    font-size: 2em;
  }
  .page-about .hero-description {
    font-size: 0.9em;
  }
  .page-about .section-title {
    font-size: 1.8em;
  }
  .page-about .cta-button.secondary {
    margin-top: 10px;
  }
}