/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  box-sizing: border-box;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about strong {
  color: #26A9E0;
}

.page-about__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__link:hover {
  text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__btn-lg {
  padding: 15px 30px;
  font-size: 1.1em;
}

/* Specific button for login/action */
.page-about__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-login:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
  overflow: hidden;
}

.page-about__hero-section .page-about__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about__hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-about__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

.page-about__intro-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-about__intro-text {
  flex: 2;
  min-width: 300px;
}

.page-about__intro-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-list {
  list-style: none;
  padding: 0;
}

.page-about__value-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__value-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

/* Video Section */
.page-about__video-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Ensure it's a block element */
  cursor: pointer; /* Indicate it's clickable */
}

/* Why Choose ff88 Section */
.page-about__why-choose-ff88-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__feature-card {
  text-align: center;
}

.page-about__feature-icon {
  width: 100%; /* Ensure full width in card */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
}

.page-about__cta-section p {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__commitment-item {
  text-align: center;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__team-member {
  text-align: center;
}

.page-about__team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #26A9E0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}
}