/* style/about-us.css */

:root {
  --page-about-us-primary-color: #FFD700;
  --page-about-us-secondary-color: #8B0000;
  --page-about-us-text-light: #ffffff;
  --page-about-us-text-dark: #333333;
  --page-about-us-bg-light: #f8f9fa;
  --page-about-us-bg-dark: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark grey if --dark-bg-1 is not defined */
}

.page-about-us {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--page-about-us-text-light); /* Assuming body is dark background */
  background-color: var(--page-about-us-bg-dark);
}

.page-about-us__top-spacing {
  padding-top: 120px; /* For fixed header on desktop */
}

.page-about-us__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-about-us__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about-us__heading {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-about-us-primary-color); /* Gold for headings */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-about-us__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-about-us-text-light);
}

/* Hero Banner Section */
.page-about-us__hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--page-about-us-secondary-color) 0%, var(--page-about-us-primary-color) 100%);
  color: var(--page-about-us-text-light);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-about-us__hero-banner-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 2;
}

.page-about-us__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-about-us-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-about-us__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: var(--page-about-us-text-light);
}

.page-about-us__hero-banner-image {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-about-us__hero-banner-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Buttons */
.page-about-us__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about-us__btn--primary {
  background-color: var(--page-about-us-primary-color);
  color: var(--page-about-us-text-dark); /* Gold background, dark text for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-about-us__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-about-us__btn--secondary {
  background-color: transparent;
  color: var(--page-about-us-primary-color);
  border: 2px solid var(--page-about-us-primary-color);
  margin-left: 20px;
}

.page-about-us__btn--secondary:hover {
  background-color: var(--page-about-us-primary-color);
  color: var(--page-about-us-text-dark);
  transform: translateY(-3px);
}

.page-about-us__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  background-color: var(--page-about-us-primary-color);
  color: var(--page-about-us-text-dark);
  margin-top: 15px;
}

.page-about-us__btn--small:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-about-us__introduction {
  background-color: var(--page-about-us-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about-us__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--page-about-us-text-light);
}

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

.page-about-us__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--page-about-us-primary-color)); /* Subtle glow for icons */
}

.page-about-us__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-about-us-primary-color);
}

.page-about-us__feature-description {
  font-size: 16px;
  color: var(--page-about-us-text-light);
}

/* History Section */
.page-about-us__history {
  background-color: var(--page-about-us-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about-us__history-text {
  flex: 1;
}

.page-about-us__history-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about-us__history-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* VIP Program Section */
.page-about-us__vip-program {
  background-color: var(--page-about-us-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about-us__vip-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.3);
  color: var(--page-about-us-text-light);
}

.page-about-us__vip-item p {
  margin: 0;
  font-size: 16px;
  color: var(--page-about-us-text-light);
}

.page-about-us__vip-item strong {
  color: var(--page-about-us-primary-color);
}

.page-about-us__vip-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 3px var(--page-about-us-secondary-color));
}

/* Security Section */
.page-about-us__security {
  background-color: var(--page-about-us-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about-us__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--page-about-us-text-light);
}

.page-about-us__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about-us__security-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--page-about-us-primary-color));
}

.page-about-us__security-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-about-us-primary-color);
}

/* Contact Us Section */
.page-about-us__contact-us {
  background-color: var(--page-about-us-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about-us__contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-about-us__contact-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 0, 0, 0.3);
  color: var(--page-about-us-text-light);
}

.page-about-us__contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about-us__contact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--page-about-us-secondary-color));
}

.page-about-us__contact-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-about-us-primary-color);
}

.page-about-us__contact-item p {
  font-size: 16px;
  color: var(--page-about-us-text-light);
}

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

.page-about-us__faq-list {
  margin-top: 40px;
}

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about-us__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 15px;
  opacity: 0;
  color: var(--page-about-us-text-light);
  background: rgba(255, 255, 255, 0.03);
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--page-about-us-text-light);
}

.page-about-us__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-about-us__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--page-about-us-primary-color);
}

.page-about-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--page-about-us-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-us__faq-item.active .page-about-us__faq-toggle {
  color: var(--page-about-us-text-light);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__hero-title {
    font-size: 40px;
  }
  .page-about-us__hero-description {
    font-size: 17px;
  }
  .page-about-us__heading {
    font-size: 30px;
  }
  .page-about-us__history-content {
    flex-direction: column;
  }
  .page-about-us__history-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-about-us__top-spacing {
    padding-top: 100px !important;
  }
  .page-about-us__hero-banner {
    flex-direction: column-reverse;
    padding: 60px 15px;
    text-align: center;
    gap: 30px;
  }
  .page-about-us__hero-banner-content {
    max-width: 100%;
    text-align: center;
  }
  .page-about-us__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-about-us__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-about-us__hero-banner-image {
    max-width: 100%;
  }
  .page-about-us__btn {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-about-us__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-about-us__section {
    padding: 40px 0;
  }
  .page-about-us__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about-us__heading {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about-us__paragraph {
    font-size: 15px;
  }
  .page-about-us__features-grid,
  .page-about-us__vip-list,
  .page-about-us__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about-us__feature-card,
  .page-about-us__security-item {
    padding: 25px;
  }
  .page-about-us__feature-icon,
  .page-about-us__security-icon {
    width: 60px;
    height: 60px;
  }
  .page-about-us__feature-title,
  .page-about-us__security-title,
  .page-about-us__contact-title {
    font-size: 20px;
  }
  .page-about-us__history-image img {
    max-width: 95%;
  }
  .page-about-us__vip-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }
  .page-about-us__vip-icon {
    width: 50px;
    height: 50px;
  }
  .page-about-us__contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .page-about-us__contact-item {
    width: 100%;
    padding: 25px;
  }
  .page-about-us__faq-question {
    padding: 15px;
  }
  .page-about-us__faq-question h3 {
    font-size: 16px;
  }
  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px !important;
  }
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-about-us__hero-title {
    font-size: 28px;
  }
  .page-about-us__btn {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-about-us__btn--secondary {
    margin-top: 10px;
  }
  .page-about-us__heading {
    font-size: 22px;
  }
  .page-about-us__feature-title,
  .page-about-us__security-title,
  .page-about-us__contact-title {
    font-size: 18px;
  }
  .page-about-us__paragraph,
  .page-about-us__feature-description,
  .page-about-us__vip-item p,
  .page-about-us__contact-item p {
    font-size: 14px;
  }
}