/* ================================
   ABOUT PAGE STYLES
   ================================ */

body.about-page-body {
  background: rgb(59, 55, 56);
}

/* Page Container */
.about-page {
  --about-surface: #3c3c3c;
  background: var(--about-surface);
  min-height: 100vh;
  color: #c8c8c8;
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Hero: full-width image, dark overlay, logo + title */
.about-hero {
  position: relative;
  width: 100%;
  min-height: clamp(300px, 36vh, 440px);
  background-color: #4a4a4a;
  background-image: url('../../images/about-us/hero_image.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Light overlay: keeps type readable without crushing the hero photo */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.02) 35%,
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.22) 45%,
      rgba(0, 0, 0, 0.34) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  min-height: clamp(300px, 36vh, 440px);
  padding: 32px 70px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.about-header {
  padding: 0;
}

.about-logo-link {
  display: inline-block;
  text-decoration: none;
  align-self: flex-start;
}

/* Logo in a dark, slightly transparent circle (matches comp) */
.about-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.25s, border-color 0.25s;
}

.about-logo-link:hover .about-logo-badge {
  background: rgba(30, 30, 30, 0.65);
  border-color: rgba(255, 255, 255, 0.1);
}

.about-logo {
  width: 60px;
  height: auto;
  display: block;
  transition: opacity 0.25s;
}

.about-logo-link:hover .about-logo {
  opacity: 0.92;
}

.about-hero-title {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.75rem, 6.5vw, 4rem);
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  margin-top: auto;
  letter-spacing: 0.06em;
  line-height: 1.05;
  align-self: flex-start;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Main Container */
.about-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 70px 72px;
  position: relative;
}

/* Content Grid ~65% / ~35%, divider on sidebar */
.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 0;
  align-items: start;
}

/* Left Column */
.about-left {
  padding-right: 48px;
}

.about-section {
  margin-bottom: 20px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-heading {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #e8e8e8;
  margin: 0 0 6px 0;
  line-height: 1.45;
}

.about-subheading {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d8d8d8;
  letter-spacing: 0.24em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.about-text {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #b8b8b8;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.about-text em {
  font-style: italic;
  color: #d8d8d8;
  font-weight: 400;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #b8b8b8;
  line-height: 1.45;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.about-list li:last-child {
  margin-bottom: 0;
}

.about-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #d8d8d8;
  font-weight: 400;
}

/* Right Column */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 40px;
  min-height: 100%;
}

/* Partners Section */
.about-partners {
  padding: 0;
}

.partners-heading {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #d8d8d8;
  letter-spacing: 0.24em;
  margin: 0 0 26px 0;
  text-transform: uppercase;
  line-height: 1.65;
}

.partner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.partner:last-child {
  margin-bottom: 0;
}

.partner-image-wrapper {
  flex-shrink: 0;
}

.partner-image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.partner-image-wrapper--zoom {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.partner-image-wrapper--zoom .partner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.55) translateY(8%);
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.partner-name {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.partner-bio {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.partner-bio:hover {
  color: #ffffff;
}

/* Contact Button */
.contact-button {
  display: inline-block;
  align-self: flex-start;
  background: #ffffff;
  color: #2a2a2a;
  padding: 0px 20px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.contact-button:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Contact Info */
.about-contact-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0;
}

.contact-logo {
  width: 72px;
  height: auto;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details {
  flex: 1;
}

.contact-company {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #b0b0b0;
  margin: 0 0 6px 0;
}

.contact-address {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  line-height: 1.5;
  margin: 0 0 6px 0;
  max-width: 16rem;
}

.contact-phone {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  }

  .about-container {
    padding: 28px 40px 56px;
  }

  .about-hero__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-left {
    padding-right: 32px;
  }

  .about-right {
    padding-left: 28px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: clamp(240px, 34vh, 380px);
  }

  .about-hero__inner {
    min-height: clamp(240px, 34vh, 380px);
    padding: 24px 24px 36px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-left {
    padding-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-container {
    padding: 28px 24px 48px;
  }

  .about-right {
    border-left: none;
    padding-left: 0;
    padding-top: 8px;
    align-items: stretch;
  }

  .contact-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-heading {
    font-size: 1rem;
  }

  .about-text,
  .about-list li {
    font-size: 0.9375rem;
  }

  .partner-image {
    width: 72px;
    height: 72px;
  }

  .partner-name {
    font-size: 1rem;
  }
}


/* ================================
   BIO PAGE STYLES
   ================================ */

body.about-page-body.bio-page-body {
  background: #333333;
}

.bio-page {
  background: #333333;
  min-height: 100vh;
  color: #c8c8c8;
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Compact top bar (solid charcoal — no hero photo) */
.bio-page-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-page-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 70px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bio-back-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.bio-back-link:hover {
  color: #ffffff;
}

/* Main: ~30% profile column / ~70% copy */
.bio-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 70px 88px;
  position: relative;
}

.bio-content {
  display: grid;
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.bio-left {
  text-align: left;
}

.bio-image {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: none;
}

.bio-name {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 1.35rem 0 0.4rem 0;
  line-height: 1.25;
}

.bio-title {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.45;
  max-width: 16rem;
}

.bio-right {
  min-width: 0;
  padding-top: 2px;
}

.bio-text {
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #d0d0d0;
  line-height: 1.7;
  margin: 0 0 1.35rem 0;
}

.bio-text:last-child {
  margin-bottom: 0;
}

.bio-link {
  color: #5dade2;
  text-decoration: none;
  transition: color 0.2s;
}

.bio-link:hover {
  color: #85c1e9;
  text-decoration: underline;
}

/* Legacy back control (if used elsewhere) */
.back-button {
  display: inline-block;
  background: transparent;
  color: #a8a8a8;
  padding: 10px 0;
  font-family: 'Libre', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 30px;
  transition: color 0.3s;
}

.back-button:hover {
  color: #ffffff;
}

.back-button::before {
  content: '← ';
  margin-right: 5px;
}

@media (max-width: 1024px) {
  .bio-page-header__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .bio-container {
    padding: 40px 40px 72px;
  }
}

@media (max-width: 768px) {
  .bio-page-header__inner {
    padding: 22px 24px 20px;
  }

  .bio-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bio-container {
    padding: 36px 24px 56px;
  }

  .bio-left {
    max-width: 280px;
  }

  .bio-image {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .bio-name {
    font-size: 22px;
  }

  .bio-text {
    font-size: 17px;
  }
}
