/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #ffffff; /* Explicitly set for clarity if body is default white */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per instruction */
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%); /* Deep Navy to Main Color */
  color: #F3F8FF; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__cta-button.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-about__cta-button.page-about__btn-secondary {
  background: #ffffff;
  color: #113B7A; /* Main Color */
  border: 2px solid #113B7A;
}

.page-about__cta-button.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #08162B;
}

.page-about__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-about__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #113B7A; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F2C14E; /* Gold */
  border-radius: 2px;
}

.page-about__section-title--light {
  color: #F3F8FF; /* Text Main */
}
.page-about__section-title--light::after {
  background-color: #4FA8FF; /* Glow */
}

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

.page-about__text-block {
  font-size: 1em;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}
.page-about__text-block--light {
  color: #AFC4E8; /* Text Secondary */
}

.page-about__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #113B7A; /* Main Color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__mission-vision {
  background-color: #f8f9fa;
}

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

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

.page-about__content-item {
  flex: 1;
}

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

.page-about__core-values {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  padding-bottom: 80px;
}

.page-about__dark-section {
  background-color: #113B7A; /* Main Color */
  color: #ffffff; /* Force white text */
}

.page-about__dark-section .page-about__text-block {
    color: #AFC4E8; /* Text Secondary */
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for card on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about__value-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

.page-about__button-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.page-about__button-wrapper--center {
    justify-content: center;
}

.page-about__journey {
  background-color: #ffffff;
}

.page-about__timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #E0E0E0;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about__timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
  left: 0;
}

.page-about__timeline-item:nth-child(odd) {
  left: 50%;
  padding-left: 40px;
}

.page-about__timeline-item:nth-child(even) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #113B7A; /* Main Color */
  border: 4px solid #F2C14E; /* Gold */
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
  left: -10px;
}

.page-about__timeline-item:nth-child(even)::after {
  right: -10px;
}

.page-about__timeline-year {
  font-size: 1.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__timeline-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #113B7A; /* Main Color */
  margin-bottom: 10px;
}

.page-about__image-centered {
    text-align: center;
    margin-top: 40px;
}

.page-about__products {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  padding-bottom: 80px;
}

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

.page-about__product-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #F3F8FF; /* Text Main */
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
}

.page-about__product-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  padding: 15px 20px 10px;
}

.page-about__product-description {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1;
  line-height: 1.7;
}

.page-about__product-card .page-about__cta-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-about__commitment {
  background-color: #f8f9fa;
}

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

.page-about__commitment-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-item .page-about__sub-title {
  color: #113B7A; /* Main Color */
  margin-top: 0;
}

.page-about__commitment-item .page-about__text-block {
  color: #555555;
}

.page-about__future {
  background-color: #ffffff;
  padding-bottom: 80px;
}

.page-about__future-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-about__future-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.page-about__future-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2B73F6; /* From button gradient */
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.5;
}

.page-about__future-list .page-about__text-block {
    margin-bottom: 0;
}

.page-about__cta-final {
  background-color: #E8F0F7; /* Light background for CTA block */
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-about__cta-final .page-about__sub-title {
  color: #113B7A; /* Main Color */
  margin-top: 0;
  font-size: 1.8em;
}

.page-about__cta-final .page-about__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: #555555;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column-reverse;
  }
  .page-about__timeline::before {
    left: 20px;
    margin-left: 0;
  }
  .page-about__timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 40px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .page-about__timeline-item::after {
    left: 10px !important;
  }
  .page-about__timeline-item:nth-child(even)::after {
    left: 10px !important; /* Ensure consistent marker position */
  }
  .page-about__product-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  /* General image and container responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__value-card,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsiveness */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-about__button-wrapper,
  .page-about__cta-final .page-about__button-wrapper {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__button-wrapper a {
    margin: 0 !important; /* Remove individual button margins if flex-direction column */
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-about__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-about__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
  }
  .page-about__content-grid {
    gap: 30px;
    margin-bottom: 30px;
  }
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about__timeline {
    margin: 40px auto;
  }
  .page-about__timeline::before {
    left: 15px; /* Adjust timeline line position */
  }
}