
/* About page background */
body.page-template-page-about-us-php{
  background:
    linear-gradient(
      to right,
      rgba(1, 61, 52) 0%,
      rgba(1, 43, 36) 28%,
      rgba(0, 53, 45) 55%,
      rgba(0, 10, 9) 78%,
      #01100d 100%
    );
}


/* ----------------------------------
   Breadcrumb (Above Hero)
---------------------------------- */

.zp-about-breadcrumb-wrap{
  padding: 150px 32px 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.zp-breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;

  color: rgba(255,255,255,.45);
}

.zp-breadcrumb a{
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .25s ease;
}

.zp-breadcrumb a:hover{
  color: #ffffff;
}

.zp-breadcrumb span{
  opacity: .5;
}

/* ----------------------------------
   About Hero
---------------------------------- */

.zp-about-hero{
  padding: 0 24px;
}

.zp-about-hero-inner{
  position: relative;
  max-width: 1400px;
  margin: 0 auto;

  min-height: 650px;

  background-image:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05),
      rgba(0,0,0,.25)
    ),
    url("../images/about-hero-img.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 20px;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
}

/* ----------------------------------
   Hero Content
---------------------------------- */

.zp-about-hero-content{
  padding: 48px 48px 56px;
  max-width: 640px;
}

.zp-about-hero-content h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 14px;
  color: #ffffff;
}

.zp-about-hero-content p{
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

/* ----------------------------------
   Responsive
---------------------------------- */

@media (max-width: 768px){
  .zp-about-breadcrumb-wrap{
    padding: 96px 20px 14px;
  }

  .zp-about-hero-inner{
    min-height: 420px;
    border-radius: 16px;
  }

  .zp-about-hero-content{
    padding: 32px 24px 36px;
  }
}

/* ===============================================
             About Summary / Stats
================================================= */

.zp-about-summary{
  padding: 70px 0;
  background: radial-gradient(1200px 420px at 12% 30%, rgba(4, 63, 52, .18) 0%, rgba(0,0,0,0) 55%),
              radial-gradient(900px 380px at 85% 55%, rgba(0, 170, 140, .12) 0%, rgba(0,0,0,0) 60%);
  /*border-bottom: 1px solid rgba(255,255,255,.08);*/
}

.zp-about-summary-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left */
.zp-about-kicker{
  margin: 0 0 18px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: .04em;
  font-weight: 700;
  color: #ffffff;
}

.zp-about-summary-text{
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}

/* Right grid */
.zp-stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.zp-stat-card{
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.zp-stat-card--dark{
  background: rgba(22,22,22,.65);
  backdrop-filter: blur(10px);
}

.zp-stat-card--teal{
  grid-column: 1 / -1;
  background: rgba(0, 150, 125, .75);
  border-color: rgba(255,255,255,.14);
  padding: 22px 26px 22px;
}

/* row 1 */
.zp-stat-card--teal .zp-stat-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* row 2: label + meter on same line */
.zp-stat-card--teal .zp-stat-bottom{
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr; /* label takes content width, meter fills */
  align-items: center;
  column-gap: 18px;
}

/* keep label on one line like the reference */
.zp-stat-card--teal .zp-stat-label{
  margin: 0;
  white-space: nowrap;
}

/* meter aligns nicely and never drops */
.zp-stat-card--teal .zp-stat-meter{
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  overflow: hidden;
  min-width: 180px; /* prevents collapsing on wider labels */
}

/* fill */
.zp-stat-card--teal .zp-stat-meter-fill{
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(0,0,0,.6);
  border-radius: 999px;
}

/* knob */
.zp-stat-card--teal .zp-stat-meter-knob{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}

/* responsive: allow meter to shrink but keep alignment */
@media (max-width: 560px){
  .zp-stat-card--teal .zp-stat-bottom{
    grid-template-columns: 1fr;   /* stack if space is too tight */
    row-gap: 10px;
    align-items: start;
  }

  .zp-stat-card--teal .zp-stat-label{
    white-space: normal;
  }

  .zp-stat-card--teal .zp-stat-meter{
    min-width: 0;
    width: 100%;
  }
}


.zp-stat-value{
  font-size: 34px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .02em;
}

.zp-stat-label{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* Teal top row */
.zp-stat-card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.zp-stat-link{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding-top: 6px;
}

.zp-stat-link:hover{
  color: #fff;
  text-decoration: underline;
}

/* Meter 
.zp-stat-meter{
  position: relative;
  margin-top: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}*/

.zp-stat-meter-fill{
  position: absolute;
  inset: 0 auto 0 0;
  width: 70%;
  background: rgba(0,0,0,.55);
  border-radius: 999px;
}

.zp-stat-meter-knob{
  position: absolute;
  top: 50%;
  left: calc(82% - 14px);
  transform: translateY(-50%);
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

/* ----------------------------------
   Responsive
---------------------------------- */
@media (max-width: 992px){
  .zp-about-summary-inner{
    grid-template-columns: 1fr;
  }

  .zp-about-summary-text{
    max-width: 100%;
  }
}

@media (max-width: 560px){
  .zp-stat-grid{
    grid-template-columns: 1fr;
  }

  .zp-stat-card--teal{
    grid-column: auto;
  }
}

/* ==========================================
   Explore More (3 image cards)
============================================= */

.zp-explore{
  padding: 34px 0 72px;
  /*border-bottom: 1px solid rgba(255,255,255,.08);
  background: 
    linear-gradient(
      to bottom, 
      rgba(0, 170, 140, .10) 0%, 
      rgba(0,0,0,0) 55%
    );*/
}

.zp-explore-head{
  margin-bottom: 18px;
}

.zp-explore-kicker{
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* Grid */
.zp-explore-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.zp-explore-card{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);

  /* keeps cards consistent even before images load */
  aspect-ratio: 16 / 9;
  background: rgba(22,22,22,.55);
}

.zp-explore-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.02);
  transition: transform .5s cubic-bezier(.2,.9,.2,1), filter .35s ease;
  filter: saturate(1.02) contrast(1.02);
}

/* subtle hover like the design language */
.zp-explore-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.18) 100%);
  opacity: .9;
  transition: opacity .35s ease;
  pointer-events: none;
}

.zp-explore-card:hover img{
  transform: scale(1.06);
}

.zp-explore-card:hover::after{
  opacity: .75;
}

/* Responsive */
@media (max-width: 992px){
  .zp-explore-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zp-explore-card{
    aspect-ratio: 16 / 8;
  }
}

/* =========================
   Topic Tabs + Reveal Section
   ========================= */

.zp-topic-tabs{
  padding: 76px 0 84px;
  background: 
   linear-gradient(
    to bottom, 
    rgba(4, 61, 33, .01) 0%, 
    rgba(0, 0, 0, .85) 20%,
    rgba(0,2,2,.90) 55%,
    rgba(1,1,1,.95) 80%
  );
}

/* Outer glass frame */
.zp-topic-shell{
  position: relative;
  padding: 74px 28px 30px;
  /*overflow: hidden;
  border-radius: 28px;   
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  background: rgba(10,12,12,.35);
  backdrop-filter: blur(10px);*/
 
}

/* Outer glass frame already exists on .zp-topic-shell */
/* Improve inner outline */
.zp-topic-shell::before{
  content:"";
  position:absolute;
  inset: 16px;
  border-radius: 22px;

  /* crisp inner hairline */
  border: 1px solid rgba(255,255,255,.25);

  /* subtle glass rim feeling */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.55);

  pointer-events:none;
}



/* -------------------------
   Tabs bar (floating glass)
-------------------------- */
.zp-topic-tabsbar{
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 60px));
  height: 68px;
  padding: 25px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  /* More realistic glass stack */
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 35%, rgba(0,0,0,.22) 100%),
    rgba(10, 12, 12, .40);

  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 22px 55px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.45);

  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  overflow: hidden;
}

/* top specular highlight */
.zp-topic-tabsbar::before{
  content:"";
  position:absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 52%);
  opacity: .55;
  pointer-events:none;
}

/* subtle inner rim + soft teal glow */
.zp-topic-tabsbar::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 0 0 1px rgba(0, 190, 160, .05),
    0 0 30px rgba(0, 190, 160, .10);
  pointer-events:none;
}

/* tab buttons */
.zp-topic-tab{
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;

  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);

  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.05;

  padding: 10px 8px;
  border-radius: 999px;

  cursor: pointer;
  user-select: none;
  transition: color .25s ease, transform .25s ease;
}

.zp-topic-tab:hover{
  color: rgba(255,255,255,.80);
}

.zp-topic-tab.is-active{
  color: #fff;
}

/* moving pill */
.zp-topic-pill{
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 0;
  height: calc(100% - 16px);
  width: 140px; /* will be set by JS */
  border-radius: 999px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    rgba(0, 150, 125, .42);

  border: 1px solid rgba(0, 190, 160, .55);

  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 0 26px rgba(0, 190, 160, .18);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), width .45s cubic-bezier(.2,.9,.2,1);
}

/* -------------------------
   Panels
-------------------------- */
.zp-topic-panels{
  position: relative;
  z-index: 2;
}

.zp-topic-panel{
  animation: zpFadeUp .35s ease both;
}

@keyframes zpFadeUp{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Hero image area */
.zp-topic-hero{
  padding: 18px 10px 0;
}

/*.zp-topic-hero-media{
  position: relative;
  border-radius: 24px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);

  aspect-ratio: 16 / 7;
  aspect-ratio: 1 / 1;
  background: rgba(15,15,15,.55);
}*/

.zp-topic-hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* callout tags on image */
.zp-topic-tag{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  border-radius: 999px;

  font-size: 14px;
  color: rgba(255,255,255,.92);
  background: rgba(10,12,12,.55);
  border: 1px solid rgba(0, 190, 160, .45);
  box-shadow: 0 16px 34px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);

  white-space: nowrap;
}

.zp-topic-tag.zp-left::after,
.zp-topic-tag.zp-right::after{
  content:"";
  position:absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: rgba(0, 190, 160, .55);
}

.zp-topic-tag.zp-left::after{
  right: 100%;
  margin-right: 12px;
}

.zp-topic-tag.zp-right::after{
  left: 100%;
  margin-left: 12px;
}

/* Content below hero */
.zp-topic-content{
  padding: 34px 26px 10px;
}

.zp-topic-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}

.zp-topic-lead{
  margin: 0 0 26px;
  max-width: 980px;
  color: rgba(255,255,255,.70);
  line-height: 1.7;
  font-size: 16px;
}

/* Two large image cards */
.zp-topic-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 22px;
}

.zp-topic-card{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;

  padding: 22px 22px 20px;
  min-height: 220px;

  background: rgba(10,12,12,.45);
  border: 1px solid rgba(0, 190, 160, .35);
  box-shadow: 0 22px 55px rgba(0,0,0,.55);
  text-decoration: none;
  backdrop-filter: blur(10px);

  transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .35s ease;
}

.zp-topic-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0, 190, 160, .55);
}

.zp-topic-card-eyebrow{
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}

.zp-topic-card-title{
  font-size: 30px;
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}

.zp-topic-card-sub{
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

.zp-topic-card-img {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: .95;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
  pointer-events: none;
}

/* Footer paragraph */
.zp-topic-foot{
  margin: 0;
  color: rgba(255,255,255,.62);
  line-height: 1.8;
  font-size: 16px;
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 992px){
  .zp-topic-shell{
    padding: 84px 18px 24px;
  }

  .zp-topic-tabsbar{
    width: calc(100% - 28px);
    height: auto;
    padding: 8px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .zp-topic-tab{
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .zp-topic-pill{
    display: none; /* pill becomes messy on wrapped tabs */
  }

  .zp-topic-cards{
    grid-template-columns: 1fr;
  }

  .zp-topic-card-img{
    width: min(62%, 320px);
  }
}

@media (max-width: 560px){
  .zp-topic-content{
    padding: 26px 14px 6px;
  }

  .zp-topic-tag{
    font-size: 12px;
    padding: 8px 12px;
  }

  .zp-topic-card-title{
    font-size: 26px;
  }
}
