/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #2F6BFF; /* Primary color */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff; /* Card BG */
  color: #1F2D3D;
}

.page-about__hero-section {
  padding-top: 20px; /* Small top padding, assuming body has padding-top from shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

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

.page-about__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #1F2D3D;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-about__image-wrapper {
  margin: 40px auto;
  max-width: 900px;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__feature-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #D6E2FF; /* Border */
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2F6BFF; /* Primary color */
}

.page-about__feature-description {
  font-size: 0.95rem;
  color: #1F2D3D;
  text-align: left;
}

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

.page-about__cta-buttons--center {
  margin-top: 50px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: #F4F7FB;
  color: #1F2D3D;
  border-color: #1F2D3D;
}

.page-about__cta-bottom-section {
  background-color: #F4F7FB;
  padding: 80px 0;
}

.page-about__cta-title {
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-about__cta-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
}

/* Common image responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-about__container {
    padding: 15px;
  }

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

  .page-about__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* Ensure small padding for mobile */
  }

  .page-about__hero-content-wrapper {
    padding: 20px;
    max-width: 100%;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

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

  .page-about__paragraph {
    font-size: 0.95rem;
    text-align: left;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 20px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Required mobile styles for components not necessarily in about.html, as per checklist */
  /* 1. Top carousel (page-about__hero-carousel-section) */
  .page-about__hero-carousel-section {
    padding-top: 10px !important; /* Example for a hero carousel section */
    /* Further styles for slides, arrows, dots would go here if this component was active */
  }

  /* 2. Guide box + five team vertical cards */
  .page-about__guide-box {
    padding: 15px !important;
  }
  .page-about__guide-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important; /* Base for 2+3 layout */
    gap: 10px !important;
  }
  .page-about__guide-card {
    padding-top: 0 !important; /* Reset specific desktop padding */
  }
  .page-about__guide-card--pos-1,
  .page-about__guide-card--pos-2 {
    grid-column: span 3 !important; /* Top two cards take 3 columns each */
  }
  .page-about__guide-card--pos-3,
  .page-about__guide-card--pos-4,
  .page-about__guide-card--pos-5 {
    grid-column: span 2 !important; /* Bottom three cards take 2 columns each */
  }
  .page-about__guide-card img {
    aspect-ratio: 250/350 !important;
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 3. home_content box */
  .page-about__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    border: none !important; /* Remove desktop specific border/shadow */
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-about__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

  /* 4. Blog card section */
  .page-about__blog-section {
    padding: 40px 0 !important;
  }
  .page-about__blog-grid {
    grid-template-columns: 1fr !important; /* Single column for blog cards */
    gap: 20px !important;
  }

  /* 5. General images and buttons (already covered above, but reiterating for checklist) */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}