/* style/about.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-about {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: 100px; /* Adjust for fixed header */
}

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

.page-about__hero-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000040 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Adjust for fixed header, as it's the first content section */
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0.3;
  animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about__cta-button--primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-about__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-about__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  opacity: 0.8;
}

.page-about__dark-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-about__brand-intro-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-about__text-content h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-content p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.85;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-about__values-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-about__value-card {
  background: var(--card-background-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__value-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); /* Not changing color, just adding glow */
}

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

.page-about__value-card p {
  font-size: 1em;
  opacity: 0.8;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-about__feature-item {
  background: var(--card-background-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__feature-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); /* Not changing color, just adding glow */
}

.page-about__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-item p {
  font-size: 1em;
  opacity: 0.8;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.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: var(--card-background-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change from + to X or simply rotate */
  color: var(--text-light);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

.page-about__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
  opacity: 0.8;
}

.page-about__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #000040 0%, var(--secondary-color) 100%);
  color: var(--text-light);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__grid-layout {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__image-wrapper {
    order: 2; /* Image on right for desktop */
  }
  .page-about__brand-intro-section .page-about__text-content {
    order: 1;
  }
}

@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-description,
  .page-about__section-description,
  .page-about__text-content p {
    font-size: 1em;
  }
  .page-about__value-title,
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__value-card, .page-about__feature-item {
    padding: 25px;
  }
  .page-about__value-icon, .page-about__feature-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 80px; /* Adjust for mobile fixed header */
    font-size: 15px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section,
  .page-about__dark-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__faq-section,
  .page-about__conclusion-section {
    padding: 50px 0;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* Mobile specific top padding for hero */
  }
  .page-about__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-about__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 0.9em;
    margin-bottom: 40px;
  }
  .page-about__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-about__text-content h3 {
    font-size: 1.5em;
  }
  .page-about__text-content p {
    font-size: 0.95em;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card,
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__value-icon,
  .page-about__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-about__value-title,
  .page-about__feature-title {
    font-size: 1.2em;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-about__value-icon,
  .page-about__feature-icon {
    width: 50px;
    height: 50px;
  }
}

/* Image responsive fallback */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__grid-layout,
  .page-about__values-grid,
  .page-about__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}