:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--body-bg);
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  margin: 10px auto 0;
  border-radius: 2px;
}

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

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--body-bg);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-about__hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* About HM88 Section */
.page-about__about-hm88 {
  background-color: #f9f9f9;
  color: #333333;
}

.page-about__about-hm88 .page-about__section-title {
  color: #333333;
}

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

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.page-about__image-block {
  flex: 1;
  min-width: 400px;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Mission & Vision Section */
.page-about__mission-vision {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-about__content-wrapper--center {
  justify-content: center;
  text-align: center;
}

.page-about__card {
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 20px;
  flex: 1;
  max-width: 48%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

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

.page-about__card p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Core Values Section */
.page-about__core-values {
  background-color: #f0f0f0;
  color: #333333;
}

.page-about__core-values .page-about__section-title {
  color: #333333;
}

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

.page-about__value-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__value-item .page-about__card-title {
  color: var(--deep-orange);
  font-size: 22px;
}

.page-about__value-item p {
  color: #555555;
  font-size: 16px;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  background-color: var(--body-bg);
  color: var(--text-main);
}

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

.page-about__advantage-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-about__advantage-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__advantage-item .page-about__card-title {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about__advantage-item p {
  font-size: 15px;
  color: #e0e0e0;
}

.page-about__cta-section {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Our Team Section */
.page-about__our-team {
  background-color: #f9f9f9;
  color: #333333;
}

.page-about__our-team .page-about__section-title {
  color: #333333;
}

.page-about__our-team .page-about__image-block img {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.page-about__commitment {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-about__commitment .page-about__content-wrapper {
  flex-wrap: wrap;
}

.page-about__card--commitment {
  max-width: 30%;
  min-width: 280px;
  margin: 15px;
  text-align: center;
  justify-content: flex-start;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #f0f0f0;
  color: #333333;
}

.page-about__faq-section .page-about__section-title {
  color: #333333;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: #fcfcfc;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

/* Connect With Us Section */
.page-about__connect-us {
  background-color: var(--body-bg);
  color: var(--text-main);
  padding-bottom: 80px;
}

.page-about__connect-us .page-about__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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


/* General Image Styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content h1 {
    font-size: 40px;
  }

  .page-about__intro-text {
    font-size: 18px;
  }

  .page-about__section-title {
    font-size: 30px;
  }

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

  .page-about__image-block {
    min-width: unset;
    width: 100%;
    margin-bottom: 30px;
  }
  
  .page-about__image-block img {
    max-width: 80%;
    margin: 0 auto;
  }

  .page-about__card {
    max-width: 100%;
    margin: 15px 0;
  }

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

  .page-about__advantage-item img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }

  .page-about__card--commitment {
    max-width: 100%;
  }

  .page-about__btn-secondary {
    margin-left: 0;
  }

  .page-about__cta-button {
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-image img {
    border-radius: 8px;
  }

  .page-about__hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__text-block p {
    font-size: 15px;
  }

  .page-about__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__advantage-item img {
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-about__faq-qtext {
    font-size: 15px;
  }

  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  .page-about__connect-us .page-about__description {
    font-size: 16px;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Content area images min-size enforcement */
.page-about__text-block img,
.page-about__advantage-item img {
  min-width: 200px;
  min-height: 200px;
}