/* style/about.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f8f8f8;
  --border-color: #e0e0e0;
}

.page-about {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-about__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-about__hero-section {
  text-align: center;
  padding: 80px 20px;
  background-image: url('[GALLERY:hero:sin88 win,gioi thieu,banner]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
  padding-top: 10px; /* Adjust for fixed header on desktop, if this section is the very top */
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px 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(--text-dark);
}

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__section-title--spacing {
  margin-top: 80px;
}

.page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-about__text-block {
  flex: 2;
  font-size: 1.1em;
  color: var(--text-light);
}

.page-about__text-block p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-about__text-block strong {
  color: var(--primary-color);
}

.page-about__timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 30px;
  margin-top: 50px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--background-dark);
  box-shadow: 0 0 0 2px var(--primary-color);
}

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

.page-about__timeline-item p {
  color: var(--text-light);
}

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

.page-about__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

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

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

.page-about__value-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-light);
}

.page-about__value-list li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-about__advantage-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
}

.page-about__advantage-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-about__advantage-item p {
  color: var(--text-light);
}

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

.page-about__commitment-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
}

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

.page-about__commitment-item p {
  color: var(--text-light);
}

.page-about__contact-cta {
  text-align: center;
  background-color: var(--secondary-color);
  padding: 80px 20px;
}

.page-about__contact-cta .page-about__section-title {
  color: var(--text-light);
}

.page-about__contact-description {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__content-wrapper {
    flex-direction: column;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column-reverse;
  }

  .page-about__text-block, .page-about__image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__section-title--spacing {
    margin-top: 60px;
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-about__text-block p {
    font-size: 0.95em;
  }

  .page-about__timeline {
    padding-left: 20px;
  }

  .page-about__timeline::before {
    left: 5px;
  }

  .page-about__timeline-item {
    padding-left: 25px;
    margin-bottom: 30px;
  }

  .page-about__timeline-item::before {
    width: 16px;
    height: 16px;
    border: 3px solid var(--background-dark);
    box-shadow: 0 0 0 1px var(--primary-color);
  }

  .page-about__timeline-year {
    font-size: 1.3em;
  }

  .page-about__vision-mission {
    grid-template-columns: 1fr;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 1.5em;
  }

  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-about__advantage-item {
    padding: 25px;
  }

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

  .page-about__advantage-title {
    font-size: 1.3em;
  }

  .page-about__commitment-list {
    grid-template-columns: 1fr;
  }

  .page-about__commitment-item {
    padding: 25px;
  }

  .page-about__commitment-title {
    font-size: 1.5em;
  }

  .page-about__contact-cta {
    padding: 60px 15px;
  }

  .page-about__contact-description {
    font-size: 1em;
  }
}