/* style/about-us.css */

/* Base styles for the About Us page */
.page-about-us {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #000, so light text */
  background-color: #000;
}

/* Top padding to clear fixed header */
.page-about-us__hero-banner {
  padding-top: 120px;
}

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

.page-about-us__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about-us__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8B0000; /* Deep red underline */
  border-radius: 2px;
}

.page-about-us__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-about-us__text-block strong {
  color: #FFD700;
}

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

.page-about-us__btn--primary {
  background-color: #FFD700;
  color: #000000;
  border-color: #FFD700;
}

.page-about-us__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-about-us__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-about-us__btn--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Hero Banner Section */
.page-about-us__hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  background: linear-gradient(135deg, #0d0d0d, #2a2a2a);
  padding: 60px 0;
  overflow: hidden;
}

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

.page-about-us__main-heading {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about-us__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about-us__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

/* Introduction Section */
.page-about-us__introduction-section {
  padding: 80px 0;
  background-color: #000;
}

.page-about-us__introduction-section .page-about-us__container {
  text-align: center;
}

/* Values Section */
.page-about-us__values-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-about-us__value-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #333;
}

.page-about-us__value-card:hover {
  transform: translateY(-10px);
  background-color: #3a3a3a;
}

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

.page-about-us__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about-us__card-description {
  font-size: 16px;
  color: #cccccc;
}

/* Advantages Section */
.page-about-us__advantages-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-about-us__advantage-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about-us__advantage-item:hover {
  transform: translateY(-5px);
  background-color: #2a2a2a;
}

.page-about-us__advantage-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about-us__advantage-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-about-us__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #8B0000, #FFD700);
  text-align: center;
  color: #ffffff;
}

.page-about-us__cta-content .page-about-us__section-title {
  color: #ffffff;
}

.page-about-us__cta-content .page-about-us__section-title::after {
  background-color: #ffffff;
}

.page-about-us__cta-content .page-about-us__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about-us__faq-section {
  padding: 80px 0;
  background-color: #000;
}

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

/* FAQ container styles */
.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ default state - answer hidden */
.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 20px;
  opacity: 0;
  color: #cccccc;
  font-size: 16px;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important ensure priority, value large enough for any content */
  padding: 20px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
}

/* Question styles */
.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about-us__faq-item.active .page-about-us__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #FFD700;
}

.page-about-us__faq-question:hover {
  background: #2a2a2a;
  border-color: #FFD700;
}

.page-about-us__faq-question:active {
  background: #3a3a3a;
}

/* Question title styles */
.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold color for question */
  pointer-events: none; /* Prevent h3 from blocking click events */
}

/* Toggle icon */
.page-about-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold color for icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  transform: rotate(45deg); /* Rotate to form 'X' or similar */
  color: #8B0000;
}

/* Blog Section */
.page-about-us__blog-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-about-us__blog-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.page-about-us__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about-us__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.page-about-us__blog-card h3 {
  font-size: 20px;
  color: #FFD700;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-about-us__blog-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 15px;
  margin: 0;
}

.page-about-us__blog-date {
  display: block;
  font-size: 14px;
  color: #8B0000;
  padding: 0 20px 20px;
  text-align: right;
}

.page-about-us__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__hero-banner {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .page-about-us__hero-content {
    max-width: 100%;
    padding: 40px 20px;
  }

  .page-about-us__main-heading {
    font-size: 40px;
  }

  .page-about-us__hero-image-wrapper {
    padding: 0 20px 40px;
  }

  .page-about-us__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-banner {
    padding-top: 100px; /* Mobile top padding */
  }
  
  .page-about-us__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about-us__text-block {
    font-size: 16px;
  }

  .page-about-us__main-heading {
    font-size: 32px;
  }

  .page-about-us__hero-description {
    font-size: 18px;
  }

  .page-about-us__btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about-us__values-grid, .page-about-us__advantages-grid, .page-about-us__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about-us__introduction-section, .page-about-us__values-section, .page-about-us__advantages-section, .page-about-us__cta-section, .page-about-us__faq-section, .page-about-us__blog-section {
    padding: 50px 0;
  }

  .page-about-us__value-card, .page-about-us__advantage-item, .page-about-us__blog-card {
    padding: 25px;
  }

  .page-about-us__value-icon {
    width: 80px;
    height: 80px;
  }

  .page-about-us__card-title, .page-about-us__advantage-title {
    font-size: 20px;
  }

  .page-about-us__faq-question {
    padding: 15px;
  }
  
  .page-about-us__faq-question h3 {
    font-size: 16px;
  }

  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px !important;
  }

  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  /* Mobile image responsiveness */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about-us__hero-banner,
  .page-about-us__introduction-section,
  .page-about-us__values-section,
  .page-about-us__advantages-section,
  .page-about-us__cta-section,
  .page-about-us__faq-section,
  .page-about-us__blog-section,
  .page-about-us__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about-us__main-heading {
    font-size: 28px;
  }
  .page-about-us__hero-description {
    font-size: 16px;
  }
  .page-about-us__section-title {
    font-size: 24px;
  }
}