/* ============================================================
   ATbio �?About Us (atbio-about.html)
   Layout: GLOBAL �?COMMON HEADER �?COMMON LINK FX
           �?PAGE HERO �?PAGE BODY (story + pillars) �?CONTACT BAND
           �?COMMON FOOTER �?RESPONSIVE
   Note: image paths are NOT referenced in CSS �?see inline
   style="background-image:url(...)" in HTML for .foot-bg and .contact-band.
   ============================================================ */

/* ===========================================================================
   1. GLOBAL �?Fonts & Base
   =========================================================================== */

html,
body {
  font-family: 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #1a1a1a;
  background: #fff;
}

html:lang(ar),
body:lang(ar) {
  font-family: 'Noto Sans Arabic', 'Traditional Arabic', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

/* ===========================================================================
   2. COMMON �?Top navigation (header) �?IDENTICAL to atbio-products.css
   =========================================================================== */
.topbar {
  position: relative;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px clamp(20px, 5vw, 96px) 25px;
}

.nav .logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav .logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.desk-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desk-nav a {
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: color .2s;
}

.desk-nav a:hover {
  color: #9EE3DE;
}

.nav-right {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: #000000;
  position: relative;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d6dbe1;
  background: #fff;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
  position: relative;
}

.lang-pill:hover {
  border-color: #9EE3DE;
  color: #9EE3DE;
}

.lang-pill .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .15);
  padding: 6px;
  min-width: 120px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.lang-pill.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-pill .lang-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: inherit;
}

.lang-pill .lang-menu a:hover {
  background: #f1f6fb;
  color: #9EE3DE;
}

.search-wrap {
  display: inline-flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f6fb;
  font-size: 12px;
  color: #000000;
  outline: none;
  margin-right: 0;
  transition: width .55s cubic-bezier(.65, .05, .36, 1), opacity .35s ease, padding .45s ease, margin .45s ease, border-color .35s ease, box-shadow .45s ease;
}

.search-wrap:hover .search-input,
.search-wrap:focus-within .search-input {
  width: 240px;
  opacity: 1;
  padding: 8px 16px;
  margin-right: 8px;
  border-color: #cfe1f3;
  box-shadow: 0 6px 22px -10px rgba(126, 192, 238, .6);
}

.search-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d6dbe1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  cursor: pointer;
  transition: transform .35s ease, color .2s, border-color .2s, background .3s;
}

.search-pill:hover {
  color: #9EE3DE;
  border-color: #9EE3DE;
}

.search-wrap:hover .search-pill {
  transform: rotate(90deg);
  background: #9EE3DE;
  color: #fff;
  border-color: #9EE3DE;
}

.mnav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dbe1;
  border-radius: 8px;
  cursor: pointer;
  color: #000000;
}

#mnav-chk {
  display: none;
}

.mnav {
  display: none;
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 32px;
  gap: 20px;
  color: #fff;
}

.mnav a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  align-self: flex-start;
}

.mnav .mnav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.mnav input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  width: 100%;
  font-size: 14px;
}

.mnav .msearch-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.mnav .msearch-input {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
}

.mnav .msearch-pill {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.mnav .lang-select {
  background: #000;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 10px 40px 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  width: 100%;
  margin-top: 8px;
}

#mnav-chk:checked~.mnav {
  display: flex !important;
}

/* ===========================================================================
   3. COMMON �?Unified link / button / card / image interaction (fx-*)
   =========================================================================== */
.desk-nav a {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  line-height: 1.15;
  vertical-align: bottom;
}

.fx-card {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* ===========================================================================
   4. PAGE-LOCAL �?About hero (mountain banner with green title)
   =========================================================================== */
.about-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.about-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a.about-hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.about-hero-mobile,
.about-hero-desktop {
  position: relative;
  width: 100%;
}

.about-hero-desktop {
  display: none;
  aspect-ratio: 3420 / 1080;
}

.about-hero-mobile {
  aspect-ratio: 900/1200;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ===========================================================================
   5. PAGE-LOCAL ¬?About body (left story + right video)
   =========================================================================== */
.about-body {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 5%;
  row-gap: 32px;
  width: min(80vw, 1600px);
  margin: 0 auto;
  padding: 80px 0;
}

#about-body-2 {
  position: relative;
  background: #eef1f4;
  isolation: isolate;
}

#about-body-1 {
  padding-top: 84px;
  padding-bottom: 82px;
}

#about-body-3 {
  padding-bottom: 100px;
}

#about-body-3 > .about-gallery {
  background: none;
  padding: 0;
}

#about-body-3 > .about-gallery .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  width: auto;
  margin: 0;
}

#about-body-2::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eef1f4;
  z-index: -1;
}

.about-visual {
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .15);
  align-self: start;
}

.about-visual img,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.carousel-slide {
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.carousel-slide:first-child {
  position: relative;
  height: 100%;
}

.carousel-slide:not(:first-child) {
  position: absolute;
  inset: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .3s ease, opacity .3s ease;
  opacity: 0.65;
}

.carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(0,0,0,.65);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

#about-body-1 > .about-visual,
#about-body-2 > .about-visual {
  margin-top: 16px;
}

.story-head h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: #0d0d0d;
  margin: 0 0 6px;
  letter-spacing: -.1em;
}

.story-text p {
  font-size: 16px;
  line-height: 1.95;
  margin: 16px 0 18px;
  color: #666;
}

/* ===========================================================================
   6. PAGE-LOCAL ¬?Pillars (three cards horizontal)
   =========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 96px) 60px;
}

.pillar {
  background: #f5f5f5;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -28px rgba(13, 37, 64, .22);
}

.pillar .fx-card {
  padding: 32px clamp(20px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar h3 {
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 24px);
  color: #7fcf6a;
  margin: 0;
  letter-spacing: .01em;
}

.pillar p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  color: #666;
}

/* ===========================================================================
   7. PAGE-LOCAL ¬?About gallery (four images)
   =========================================================================== */
.about-gallery {
  background: #eef0f3;
  padding: 60px clamp(20px, 5vw, 96px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 11.25px));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Shared background cover */
.foot-bg,
.culture {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ===========================================================================
   7. COMMON  Footer (identical to atbio-products.css)
   =========================================================================== */
footer {
  background: #fff;
  padding: 50px clamp(20px, 5vw, 96px) 0;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid #eef0f3;
  padding-bottom: 30px;
}

.foot-top h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.foot-top p {
  font-size: 18px;
  line-height: 1.65;
}

.socials {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
}

.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: #000000;
  color: #fff;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.socials a:hover {
  background: #fff;
  color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
}

.socials .wechat {
  position: relative;
}

.socials .wechat .qrcode {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  padding: 8px;
}

.socials .wechat .qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.socials .wechat:hover .qrcode,
.socials .wechat:focus-within .qrcode {
  display: block;
}

.foot-bg {
  height: auto;
  margin: 0 calc(-1 * clamp(20px, 5vw, 96px)) 0;
  padding: 0 clamp(20px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 60px 0 40px;
}

.foot-cols h5 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.foot-cols a,
.foot-cols p {
  font-size: 18px;
  line-height: 1.5;
  display: block;
}

.foot-cols a {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.foot-cols a:hover {
  color: #9EE3DE;
  transform: translateX(3px);
}

.foot-bottom {
  position: relative;
  padding: 60px 0;
  text-align: center;
}

.foot-bottom .big-logo {
  display: inline-block;
  width: 20%;
  max-width: 280px;
  min-width: 120px;
  line-height: 0;
}

.foot-bottom .big-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.foot-bottom small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ===========================================================================
   8. RESPONSIVE
   =========================================================================== */
@media (max-width:1024px) {

  .desk-nav,
  .nav-right .pc-only {
    display: none;
  }

  .mnav-toggle {
    display: inline-flex;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, calc(50% - 7.5px));
  }
}

@media (min-width: 1025px) {
  .about-hero-mobile {
    display: none;
  }

  .about-hero-desktop {
    display: block;
  }

  .about-body {
    display: grid;
    grid-template-columns: 50% 35%;
    gap: 5%;
    justify-content: center;
  }

  .story-head {
    grid-column: 1;
    grid-row: 1;
  }

  .story-text {
    grid-column: 1;
    grid-row: 2;
  }

  .about-visual {
    grid-column: 2;
    grid-row: 2;
  }

  #about-body-2 {
    grid-template-columns: 35% 50%;
  }

  #about-body-2 > .story-head,
  #about-body-2 > .story-text {
    grid-column: 2;
  }

  #about-body-2 > .about-visual {
    grid-column: 1;
    grid-row: 2;
  }

  #about-body-3 > .about-visual {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  #about-body-3 > .about-gallery {
    grid-column: 1 / -1;
  }
}

@media (max-width:900px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .about-body {
    width: auto;
    margin: 0 20px;
    padding: 50px 0;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .carousel-btn {
    opacity: 1;
  }
}

/* OUR CULTURE banner (background image set inline on .culture) */
.culture {
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  height: clamp(280px, 22vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture .panel {
  background: rgba(230, 232, 235, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0 clamp(40px, 6vw, 90px);
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.culture .panel h3 {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -.05em;
  color: #fff;
  margin: 0;
}

.culture .panel p {
  font-size: 30px;
  line-height: 1.7;
  margin-top: 0;
  color: #fff;
  max-width: 60ch;
}

@media (max-width:760px) {
  .culture .panel {
    width: 92%;
  }

  .culture .panel h3 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .culture .panel p {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.5;
  }
}