/* ==========================================================================
   Aprotime — About Us Page Styles
   Figma Canvas: 1440px | Elastic Responsive System
   ========================================================================== */

:root {
  --color-primary: #CE0000;
  --color-dark: #1F262D;
  --color-text-main: #3F3F3F;
  --color-card-tint: #FFF5F5;
  --color-gray-bg: #FAFAFA;
  --color-gray-border: #F3F4F6;
  --font-family-base: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Page Layout */
.about-page-wrapper {
  background-color: #FFFFFF;
  color: var(--color-dark);
  font-family: var(--font-family-base);
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Main Container */
.about-main {
  width: 100%;
}

/* --------------------------------------------------------------------------
   1. Intro Section (Heading 1 + Paragraphs)
   -------------------------------------------------------------------------- */
.about-intro-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3.5rem 1.5rem 2.5rem; /* 56px 24px 40px matching Figma */
}

.about-intro-container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-intro-title {
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: 2.625rem; /* 42px */
  line-height: 1.428; /* 60px */
  color: var(--color-dark);
  margin: 0;
}

.about-intro-text-1 {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5rem; /* 24px, 160% */
  color: rgba(63, 63, 63, 0.8);
  margin: 1.25rem 0 0; /* 20px */
  max-width: 69rem; /* 1104px */
}

.about-intro-text-2 {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5rem; /* 24px, 160% */
  color: rgba(63, 63, 63, 0.8);
  margin: 2rem 0 0; /* 32px */
  max-width: 69rem; /* 1104px */
}

/* --------------------------------------------------------------------------
   2. Our Mission Section (Pink Card Left, Image Right)
   -------------------------------------------------------------------------- */
.about-mission-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.5rem; /* 24px */
}

.about-split-container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem; /* 20px */
  align-items: stretch;
}

/* Split Card: Pink Tint Content */
.about-split-card {
  background: var(--color-card-tint);
  border-radius: 1rem; /* 16px */
  padding: 2.5rem; /* 40px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 23.7118rem; /* 379.39px */
  box-sizing: border-box;
}

/* Red Indicator Accent Bar */
.about-accent-bar {
  width: 2.5rem; /* 40px */
  height: 0.25rem; /* 4px */
  background: var(--color-primary);
  border-radius: 9999px;
  margin-bottom: 1.5rem; /* 24px */
  flex-shrink: 0;
}

.about-split-card-title {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
  color: var(--color-text-main);
  margin: 0 0 1rem; /* 16px */
}

.about-split-card-text {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5rem; /* 24px */
  color: rgba(63, 63, 63, 0.75);
  margin: 0;
  max-width: 28.875rem; /* 462px */
}

/* Split Card: Image */
.about-image-card {
  background: #F3F4F6;
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  min-height: 23.7118rem; /* 379.39px */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

/* --------------------------------------------------------------------------
   3. Our Vision Section (Image Left, Pink Card Right)
   -------------------------------------------------------------------------- */
.about-vision-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.5rem 4rem; /* 20px 24px 64px */
}

/* --------------------------------------------------------------------------
   4. Core Values Section
   -------------------------------------------------------------------------- */
.about-values-section {
  width: 100%;
  background: var(--color-gray-bg);
  padding: 5rem 0; /* 80px */
  display: flex;
  justify-content: center;
}

.about-values-container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  padding: 0 1.5rem; /* 24px */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.about-values-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem; /* 48px */
}

.about-values-title {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
  color: var(--color-text-main);
  margin: 0;
}

.about-values-subtitle {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.375rem; /* 22px */
  color: rgba(63, 63, 63, 0.7);
  margin: 0.75rem 0 0; /* 12px */
  max-width: 33.125rem; /* 530px */
  text-align: center;
}

/* Values 4-Card Grid */
.about-values-grid {
  width: 100%;
  max-width: 69rem; /* 1104px */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; /* 20px */
  align-items: stretch;
}

.about-value-card {
  background: #FFFFFF;
  border: 1px solid var(--color-gray-border);
  border-radius: 1rem; /* 16px */
  padding: 1.75rem; /* 28px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 13.8593rem; /* 221.75px */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(206, 0, 0, 0.2);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.about-value-card-bar {
  width: 2rem; /* 32px */
  height: 0.125rem; /* 2px */
  background: var(--color-primary);
  border-radius: 9999px;
  margin-bottom: 1rem; /* 16px */
  flex-shrink: 0;
}

.about-value-card-title {
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
  color: var(--color-text-main);
  margin: 0 0 0.5rem; /* 8px */
}

.about-value-card-text {
  font-family: var(--font-family-base);
  font-weight: 400;
  font-size: 0.875rem; /* 14px */
  line-height: 1.4375rem; /* 23px, ~162% */
  color: rgba(63, 63, 63, 0.65);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Responsive Media Queries (Elastic Desktop & Stacked Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-intro-section {
    padding: 2.5rem 1.25rem 2rem;
  }

  .about-intro-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .about-mission-section,
  .about-vision-section {
    padding: 1.25rem;
  }

  .about-split-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-vision-section .about-split-container .about-image-card {
    order: 2;
  }

  .about-vision-section .about-split-container .about-split-card {
    order: 1;
  }

  .about-split-card,
  .about-image-card {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .about-image-card {
    min-height: 16rem;
    padding: 0;
  }

  .about-image-card img {
    height: 100%;
    min-height: 16rem;
  }

  .about-values-section {
    padding: 3.5rem 0;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-value-card {
    min-height: auto;
    padding: 1.5rem;
  }
}
