
/* =========================================================
   Myanmar GSS — About / Company Profile
   Refined layout, spacing, responsive behavior
========================================================= */

.about-page {
  --about-accent: var(--red, #b90b0b);
  --about-ink: var(--ink, #101216);
  --about-muted: var(--muted, #687078);
  --about-line: #e7e7eb;
  --about-soft: #f7f7f9;
}

/* -------------------------
   Company hero
------------------------- */

.about-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 80, 111, 0.2),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #170207 0%,
      #4b0718 58%,
      #8e001f 100%
    );
}

.about-page .page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.about-page .page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.about-page .crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #ffb0bf;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-page .eyebrow {
  margin-bottom: 0.8rem;
  color: var(--about-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about-page .page-hero .eyebrow {
  color: #ffb0bf;
}

.about-page .page-hero h1 {
  max-width: 900px;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
  text-wrap: balance;
}

.about-page .page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
}

/* -------------------------
   Main profile section
------------------------- */

.about-page main > .section:not(.dark-panel) {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: #fff;
}

.about-page main > .section:not(.dark-panel) > .container {
  max-width: 1320px;
}

/* Override inherited Bootstrap row/column sizing safely */
.about-page main > .section:not(.dark-panel) .row {
  display: grid;
  grid-template-columns:
    minmax(0, 1.04fr)
    minmax(0, 0.96fr);
  align-items: start;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 2.5rem;
  margin: 0;
}

.about-page main > .section:not(.dark-panel) .row > .col {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}

/* -------------------------
   Left content
------------------------- */

.about-page .section-title {
  margin: 0 0 1.25rem;
  color: var(--about-ink);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.about-page .section-copy {
  max-width: 650px;
  margin: 0;
  color: var(--about-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* -------------------------
   Fact cards
------------------------- */

.about-page .fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 0;
  background: transparent;
  border: 0;
}


.about-page .fact {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 1.5rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--about-line);
  border-left: 4px solid var(--about-accent);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(16, 18, 22, 0.045);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.about-page .fact:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 11, 11, 0.25);
  box-shadow: 0 14px 30px rgba(16, 18, 22, 0.09);
}

.about-page .fact small {
  display: block;
  margin-bottom: 0.55rem;
  color: #687078;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-page .fact strong {
  display: block;
  color: var(--about-ink);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 700;
  line-height: 1.55;
}

/* -------------------------
   Company information card
------------------------- */

.about-page .profile {
  height: auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e5e7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.075);
}

.about-page .profile-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 255, 255, 0.1),
      transparent 45%
    ),
    linear-gradient(120deg, #21030b, #8e001f);
}

.about-page .profile-head strong {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.4;
}

.about-page .profile-head span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-page .profile-body {
  padding: 0.5rem clamp(1.25rem, 2.5vw, 2rem) 1rem;
}

.about-page .profile-row {
  display: grid;
  grid-template-columns: minmax(105px, 0.72fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--about-line);
}

.about-page .profile-row:last-child {
  border-bottom: 0;
}

.about-page .profile-label {
  color: #687078;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.6;
}

.about-page .profile-value {
  min-width: 0;
  color: var(--about-ink);
  font-size: 0.96rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

/* -------------------------
   Representative message
------------------------- */

.about-page .dark-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    125deg,
    #170207,
    #35101a 65%,
    #4b0718
  );
}

.about-page .dark-panel::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(50vw, 620px);
  height: 100%;
  content: "";
  pointer-events: none;
  background: radial-gradient(
    ellipse at 100% 0%,
    rgba(197, 34, 61, 0.24),
    transparent 65%
  );
}

.about-page .dark-panel > .container {
  position: relative;
  z-index: 1;
}

.about-page .dark-panel .row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
}

.about-page .dark-panel .row > .col {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}

.about-page .dark-panel .section-title {
  color: #fff;
}

.about-page .about-message-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .about-message-frame {
  display: flex;
  width: 100%;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.025)
  );
}

.about-page .about-message-frame img {
  width: min(190px, 65%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.2));
}

.about-page .about-message-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.about-page .quote {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid #ff6d88;
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 700;
  line-height: 1.6;
}

.about-page .dark-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.9;
}

/* -------------------------
   Tablet
------------------------- */

@media (max-width: 991px) {
  .about-page main > .section:not(.dark-panel) .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .about-page .section-copy {
    max-width: 760px;
  }

  .about-page .profile {
    max-width: 800px;
  }

  .about-page .dark-panel .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .dark-panel .row > .col:last-child {
    grid-column: 1 / -1;
  }
}

/* -------------------------
   Mobile
------------------------- */

@media (max-width: 600px) {
  .about-page .page-hero {
    padding: 4.5rem 0 4rem;
  }

  .about-page .page-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
    letter-spacing: -0.045em;
  }

  .about-page main > .section:not(.dark-panel) {
    padding: 3.5rem 0;
  }

  .about-page .section-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .about-page .section-copy {
    font-size: 1rem;
    line-height: 1.8;
  }

  .about-page .fact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-top: 1.75rem;
  }

  .about-page .fact {
    min-height: 0;
    padding: 1.2rem 1.25rem;
  }

  .about-page .profile {
    border-radius: 16px;
  }

  .about-page .profile-head {
    padding: 1.35rem 1.25rem;
  }

  .about-page .profile-body {
    padding: 0.25rem 1.25rem 0.75rem;
  }

  .about-page .profile-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .about-page .profile-label {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .about-page .profile-value {
    font-size: 0.94rem;
  }

  .about-page .dark-panel .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .about-page .dark-panel .row > .col:last-child {
    grid-column: auto;
  }

  .about-page .about-message-frame {
    min-height: 220px;
  }
}

/* -------------------------
   Accessibility
------------------------- */

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
