/* style/about.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-about {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Consistent with shared.css body background */
  line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #F4F7FB; /* Ensure background for text readability */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 clamp for responsiveness */
  font-weight: 700;
  line-height: 1.2;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-about__hero-description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styles */
.page-about__section {
  padding: 80px 20px;
  background-color: #F4F7FB;
}

.page-about__section:nth-of-type(even) {
  background-color: #FFFFFF; /* Alternate background for better visual separation */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for container */
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.page-about__text-block {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__keyword {
  font-weight: bold;
  color: #2F6BFF; /* Main color for keywords */
}

/* Flex containers for image-text layouts */
.page-about__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__flex-container--reverse {
  flex-direction: row-reverse;
}

.page-about__content-column,
.page-about__image-column {
  flex: 1;
}

.page-about__image-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* No filter property */
}

/* Core Values Grid */
.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-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
}

/* Why Choose Section */
.page-about__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__reason-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-about__reason-icon {
  width: 100%; /* Ensure images are large, not small icons */
  height: auto;
  max-width: 250px; /* Adjust based on image aspect ratio and design */
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  /* No filter property */
}

.page-about__reason-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
}

.page-about__reason-description {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button Color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-about__btn-secondary:hover {
  background-color: #F0F5FF; /* Light hover background */
  color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__flex-container {
    flex-direction: column;
  }

  .page-about__flex-container--reverse {
    flex-direction: column; /* Revert to column for smaller screens */
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__section {
    padding: 60px 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__value-card,
  .page-about__reason-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  /* Ensure all images are responsive and do not overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-about__hero-image-wrapper,
  .page-about__image-column {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}