/* ============================================================
   PORTFOLIO PAGE — Dedicated Stylesheet
   Corel Offset & Packaging Pvt. Ltd.
   Fonts: Sora (headings) + DM Sans (body)
   ============================================================ */

/* --- Motion System --- */
:root {
  --motion-micro: 150ms;
  --motion-fast: 250ms;
  --motion-standard: 400ms;
  --motion-emphasis: 600ms;
  --motion-cinematic: 1000ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.15, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --reveal-distance: 32px;
  --hover-lift: -6px;
  --scale-hover: 1.03;
  --scale-active: 0.97;
  --accent: #00aced;
  --accent-dark: #008ebf;
  --gold: #d4af37;
  --gold-light: #f9f295;
  --gold-dark: #aa7c11;
  --bg-primary: #0a0b0e;
  --bg-elevated: #0d0f14;
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 172, 237, 0.4);
}

/* --- Reset & Base --- */
.portfolio-page {
  margin: 0; padding: 0;
  background: var(--bg-primary);
  color: #e8e8ea;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.portfolio-page *, .portfolio-page *::before, .portfolio-page *::after {
  box-sizing: border-box;
}
.pf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.pf-accent { color: var(--accent); }

/* --- Scroll-driven Reveal --- */
.pf-reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--motion-emphasis) var(--ease-out),
              transform var(--motion-emphasis) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.pf-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR — Collapsing on scroll
   ============================================================ */
.pf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: padding var(--motion-standard) var(--ease-in-out),
              background var(--motion-standard) ease,
              backdrop-filter var(--motion-standard) ease,
              border-bottom var(--motion-standard) ease;
}
.pf-nav__inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-nav__logo-img {
  height: 48px; width: auto; max-width: none;
  display: block;
  transition: height var(--motion-standard) var(--ease-in-out);
}

/* Compact state on scroll */
.pf-nav--compact {
  padding: 12px 32px;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.pf-nav--compact .pf-nav__logo-img {
  height: 32px;
}

/* ============================================================
   iOS-STYLE TOGGLE SWITCH
   ============================================================ */
.pf-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 5px;
  gap: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.pf-toggle__option {
  position: relative;
  z-index: 2;
  padding: 8px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 50px;
  transition: color var(--motion-standard) ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.pf-toggle__option--active {
  color: #fff;
}
.pf-toggle__option:hover:not(.pf-toggle__option--active) {
  color: rgba(255, 255, 255, 0.8);
}
.pf-toggle__pill {
  position: absolute;
  z-index: 1;
  top: 5px;
  height: calc(100% - 10px);
  background: var(--accent);
  border-radius: 50px;
  transition: left var(--motion-standard) var(--ease-in-out),
              width var(--motion-standard) var(--ease-in-out);
  box-shadow: 0 0 16px rgba(0, 172, 237, 0.4), 
              0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================================
   HERO — Full-bleed premises photo
   ============================================================ */
.pf-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px 80px;
  overflow: hidden;
}
.pf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pf-hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 11, 14, 0.1) 0%,
    rgba(10, 11, 14, 0.4) 50%,
    rgba(10, 11, 14, 0.95) 100%
  );
}
.pf-hero__content {
  position: relative;
  z-index: 1;
}
.pf-hero__label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pf-hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.pf-hero__cta-area {
  position: relative;
  z-index: 1;
  text-align: right;
  flex-shrink: 0;
}
.pf-hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}
.pf-hero__enter-btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out), background var(--motion-fast) var(--ease-out);
  box-shadow: 0 4px 15px rgba(0, 172, 237, 0.3);
}
.pf-hero__enter-btn:hover {
  transform: translateY(var(--hover-lift)) scale(var(--scale-hover));
  background: var(--accent-dark);
  box-shadow: 0 8px 25px rgba(0, 172, 237, 0.4);
}
.pf-hero__enter-btn:active {
  transform: scale(var(--scale-active));
}

/* ============================================================
   PORTFOLIO SHOWCASE — 3-column auto-height
   ============================================================ */
.pf-showcase {
  padding: 100px 0 80px;
}
.pf-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pf-showcase__card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--motion-standard) var(--ease-out),
              box-shadow var(--motion-standard) var(--ease-out),
              border-color var(--motion-standard) var(--ease-out);
  display: flex; 
}
.pf-showcase__card:hover {
  transform: translateY(var(--hover-lift));
  box-shadow: 0 24px 60px rgba(0, 172, 237, 0.15);
  border-color: rgba(0, 172, 237, 0.4);
}
.pf-showcase__card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================================
   PROCESS — Linear Flow Map
   ============================================================ */
.pf-process {
  padding: 100px 0 120px;
  background: radial-gradient(circle at top center, rgba(0,172,237,0.03), transparent 60%);
}
.pf-section-title {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  letter-spacing: -0.02em;
}
.pf-section-title .pf-accent {
  color: var(--accent);
  font-size: 0.8em;
}

.pf-mindmap-linear {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: 1200px;
  gap: 16px;
}

@media (max-width: 992px) {
  .pf-mindmap-linear {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

.pf-mindmap-linear__node {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform var(--motion-standard) var(--ease-out), background var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-standard) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pf-mindmap-linear__node:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 172, 237, 0.6);
  box-shadow: 0 16px 40px rgba(0, 172, 237, 0.12), inset 0 0 0 1px rgba(0, 172, 237, 0.2);
  transform: translateY(var(--hover-lift));
}

.pf-mindmap-linear__node--final {
  flex: 1.4;
  border-color: rgba(0, 172, 237, 0.3);
  background: linear-gradient(145deg, rgba(0, 172, 237, 0.08), rgba(0, 172, 237, 0.02));
}
.pf-mindmap-linear__node--final:hover {
  background: linear-gradient(145deg, rgba(0, 172, 237, 0.12), rgba(0, 172, 237, 0.04));
  border-color: var(--accent);
}

.pf-mindmap-linear__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 172, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--motion-standard) ease, background var(--motion-standard) ease;
  border: 1px solid rgba(0, 172, 237, 0.2);
}

.pf-mindmap-linear__node:hover .pf-mindmap-linear__icon {
  background: rgba(0, 172, 237, 0.2);
  transform: scale(1.1);
}

.pf-mindmap-linear__icon svg {
  width: 24px; 
  height: 24px;
  color: var(--accent);
}

.pf-mindmap-linear__node span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.pf-mindmap-linear__node--final span {
  font-size: 1.05rem;
  color: #fff;
}

.pf-mindmap-linear__node--final small {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 172, 237, 0.15);
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid rgba(0, 172, 237, 0.3);
}

/* Connectors */
.pf-mindmap-linear__connector {
  position: relative;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.pf-mindmap-linear__connector::before {
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,172,237,0.8), rgba(0,172,237,0.2));
  border-radius: 2px;
  position: absolute;
}

.pf-mindmap-linear__connector::after {
  content: '';
  position: absolute;
  right: -4px;
  border-width: 5px 0 5px 8px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 172, 237, 0.8);
}

@media (max-width: 992px) {
  .pf-mindmap-linear__node {
    width: 100%;
    min-height: auto;
    padding: 24px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
  }
  .pf-mindmap-linear__icon {
    margin-bottom: 0;
  }
  .pf-mindmap-linear__node--final {
    flex-direction: column;
    text-align: center;
  }
  .pf-mindmap-linear__connector {
    width: 2px;
    height: 30px;
  }
  .pf-mindmap-linear__connector::before {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,172,237,0.8), rgba(0,172,237,0.2));
  }
  .pf-mindmap-linear__connector::after {
    right: auto;
    bottom: -4px;
    border-width: 8px 5px 0 5px;
    border-color: rgba(0, 172, 237, 0.8) transparent transparent transparent;
  }
}

/* ============================================================
   CERTIFICATIONS (Premium Medals)
   ============================================================ */
.pf-certs {
  padding: 100px 0;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pf-certs__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

/* ============================================================
   PREMIUM MEDAL SYSTEM
   ============================================================ */
.medal {
  --mx: 0.5;
  --my: 0.5;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 800px;
  cursor: default;
}

/* Ribbon */
.medal__ribbon {
  position: relative;
  width: 48px;
  height: 40px;
  margin-bottom: -12px;
  z-index: 0;
}
.medal__ribbon::before,
.medal__ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.medal__ribbon::before {
  left: 0;
  transform: skewX(-8deg);
  border-radius: 2px 0 0 0;
}
.medal__ribbon::after {
  right: 0;
  transform: skewX(8deg);
  border-radius: 0 2px 0 0;
}
.medal__ribbon-fold {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 6px solid var(--gold-dark);
}

/* Medal Body — 3D tilt container */
.medal__body {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  z-index: 1;
  transition: transform var(--motion-standard) var(--ease-out),
              box-shadow var(--motion-standard) var(--ease-out);
  transform-style: preserve-3d;
}
.medal:hover .medal__body {
  transform:
    rotateY(calc((var(--mx) - 0.5) * 12deg))
    rotateX(calc((0.5 - var(--my)) * 12deg))
    translateY(-8px)
    scale(1.05);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
}

/* Outer Rim */
.medal__rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 40%, var(--gold) 60%, var(--gold-light) 100%);
  box-shadow:
    0 15px 35px rgba(212, 175, 55, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}
.medal__rim::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Inner Face */
.medal__face {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2a2d34, #111317 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Specular Highlight — follows pointer */
.medal__highlight {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at calc(var(--mx) * 100%) calc(var(--my) * 100%),
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
  pointer-events: none;
}
.medal:hover .medal__highlight {
  opacity: 1;
}

/* Engraving ring */
.medal__engraving {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

/* Medal content */
.medal__emblem {
  margin-bottom: 6px;
}
.medal__emblem svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}
.medal__year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.medal__name {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 2px;
  letter-spacing: 0.02em;
}
.medal__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(212, 175, 55, 0.8);
  margin: 0;
  line-height: 1.3;
}

/* Medal shadow on surface below */
.medal__shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--motion-standard) var(--ease-out), opacity var(--motion-standard) var(--ease-out), width var(--motion-standard) var(--ease-out), height var(--motion-standard) var(--ease-out);
  pointer-events: none;
}
.medal:hover .medal__shadow {
  width: 140px;
  height: 8px;
  opacity: 0.7;
}

/* ============================================================
   SISTER BRANCH ORG CHART (Tree Layout)
   ============================================================ */
.pf-org {
  padding: 100px 0;
}
.pf-org__tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}
.pf-org__level {
  display: flex;
  justify-content: center;
  width: 100%;
}
.pf-org__level--countries {
  gap: 120px;
  align-items: flex-start;
  margin-top: 24px;
}
.pf-org__branch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  width: 100%;
}
.pf-org__branch::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: rgba(0, 172, 237, 0.7);
}
.pf-org__children {
  grid-column: 2 / 3;
  justify-self: start;
  min-width: max-content;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  padding-left: 24px;
  padding-top: 16px;
}
.pf-org__children-wrapper {
  width: 0;
  display: flex;
  justify-content: flex-start;
}
.pf-org__node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: #fff;
  text-align: center;
  position: relative;
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.pf-org__node:hover {
  background: rgba(0, 172, 237, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 172, 237, 0.2);
}
.pf-org__node--root {
  font-size: 1.5rem;
  padding: 20px 48px;
  background: rgba(0, 172, 237, 0.15);
  border-color: var(--accent);
}
.pf-org__node--country {
  grid-column: 1 / 3;
  justify-self: center;
  font-size: 1.2rem;
  border-color: rgba(255, 255, 255, 0.3);
}
.pf-org__node--leaf {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 24px;
  text-align: left;
  position: relative;
}
.pf-org__node--leaf::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -26px;
  width: 26px;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(0, 172, 237, 0.7);
}
.pf-org__node--leaf::after {
  content: '';
  position: absolute;
  left: -26px;
  top: -1px;
  bottom: -17px;
  width: 2px;
  background: rgba(0, 172, 237, 0.7);
}
.pf-org__node--leaf:first-child::after {
  top: -17px;
}
.pf-org__node--leaf:last-child::after {
  bottom: calc(50% - 1px);
}

/* Connecting Lines */
.pf-org__branches {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
}
.pf-org__line {
  background: rgba(0, 172, 237, 0.7);
}
.pf-org__line--v {
  grid-column: 1 / 3;
  justify-self: center;
  width: 2px;
  height: 0;
  transition: height var(--motion-cinematic) var(--ease-in-out);
}
.pf-org__line--v.pf-line--drawn {
  height: 40px;
}
.pf-org__line--root-split::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: rgba(0, 172, 237, 0.7);
  transform: translateX(-50%);
  transition: width var(--motion-cinematic) var(--ease-in-out) 0.4s;
}
.pf-org__line--root-split.pf-line--drawn::before {
  width: calc(50% + 62px);
}
.pf-org__notes {
  margin-top: 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

/* ============================================================
   TURNOVER
   ============================================================ */
.pf-turnover { padding: 140px 0; position: relative; overflow: hidden; background: linear-gradient(to bottom, #0a0b0e, #0d1017); }
.pf-turnover::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,172,237,0.05) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.pf-turnover__box { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; padding: 64px; display: flex; align-items: center; justify-content: center; gap: 80px; backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05); }
.pf-turnover__stat { display: flex; align-items: flex-start; color: #fff; flex-shrink: 0; }
.pf-turnover__num { font-family: 'Sora', sans-serif; font-size: 8rem; font-weight: 800; line-height: 0.85; background: linear-gradient(135deg, #fff 30%, #a0c4ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.pf-turnover__marks { display: flex; flex-direction: column; margin-left: 8px; }
.pf-turnover__plus { font-family: 'Sora', sans-serif; font-size: 3.5rem; font-weight: 700; color: #00aced; line-height: 0.8; }
.pf-turnover__cr { font-family: 'DM Sans', sans-serif; font-size: 1.8rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }
.pf-turnover__divider { width: 1px; height: 140px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent); }
.pf-turnover__text { flex: 1; }
.pf-turnover__text h3 { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 700; color: #fff; margin: 0 0 12px 0; line-height: 1.2; }
.pf-turnover__text p { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; color: rgba(255,255,255,0.6); margin: 0; font-style: normal; }

/* ============================================================
   GALLERY - Coming Soon Placeholders
   ============================================================ */
.pf-gallery {
  padding: 80px 0 120px;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.pf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.pf-gallery__placeholder {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--motion-fast) ease;
}
.pf-gallery__placeholder:hover {
  background: rgba(255, 255, 255, 0.04);
}
.pf-gallery__placeholder span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pf-gallery__return {
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.pf-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.pf-btn:hover {
  background: rgba(0, 172, 237, 0.1);
  box-shadow: 0 4px 15px rgba(0, 172, 237, 0.2);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pf-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pf-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-footer__logo img {
  height: 36px;
  width: auto;
  max-width: none;
  opacity: 0.7;
  transition: opacity var(--motion-fast) ease;
}
.pf-footer__logo:hover img {
  opacity: 1;
}
.pf-footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}
.pf-footer__link:hover {
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .pf-org__level--countries { flex-direction: column; gap: 60px; align-items: center; margin-top: 0; }
  .pf-org__branch::before { display: none; }
  .pf-org__line--root-split::before { display: none; }
  .pf-turnover__box { flex-direction: column; text-align: center; padding: 40px; gap: 24px; }
  .pf-turnover__divider { width: 80px; height: 2px; }
  .pf-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pf-footer__inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  .pf-hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 0 24px 56px; gap: 24px; }
  .pf-hero__cta-area { text-align: left; }
  .pf-nav { padding: 16px 20px; }
  .pf-nav--compact { padding: 10px 20px; }
  .pf-nav__logo-img { height: 36px; width: auto; max-width: none; }
  .pf-nav--compact .pf-nav__logo-img { height: 28px; width: auto; max-width: none; }
  .pf-toggle__option { padding: 6px 20px; font-size: 0.85rem; }
  .pf-showcase__grid { grid-template-columns: 1fr; gap: 24px; }
  .pf-certs__grid { gap: 40px; }
  .pf-org__node--root { padding: 16px 36px; }
}

@media (max-width: 480px) {
  .pf-hero__title { font-size: 2.2rem; }
  .pf-container { padding: 0 20px; }
  .pf-org__node--leaf { margin-left: 0; padding: 12px 16px; font-size: 0.9rem; }
  .pf-org__node--leaf::before { width: 26px; left: -26px; }
  .pf-gallery__grid { gap: 10px; }
  .pf-turnover__num { font-size: 3.5rem; }
  .pf-turnover__plus { font-size: 2rem; }
  .pf-turnover__cr { font-size: 1.4rem; }
}

/* =========================================
   REFINED CTA BANNER (Combined Trust + CTA)
   ========================================= */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255,255,255,0.03);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  opacity: 0.8;
}

.cta-banner__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 172, 237, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}

/* Trust Strip */
.cta-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.cta-trust__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(0, 172, 237, 0.08);
  border: 1px solid rgba(0, 172, 237, 0.2);
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-trust__badge strong {
  font-weight: 700;
  color: #fff;
}

.cta-trust__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}

.cta-trust__tab {
  padding: 8px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform var(--motion-fast) var(--ease-out),
              background var(--motion-fast) var(--ease-out),
              border-color var(--motion-fast) var(--ease-out),
              color var(--motion-fast) var(--ease-out),
              box-shadow var(--motion-fast) var(--ease-out);
  cursor: default;
}
.cta-trust__tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 172, 237, 0.3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Main Content */
.cta-content {
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.cta-content__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.cta-content__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 44px 0;
  max-width: 540px;
}

/* Button */
.cta-content__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform var(--motion-standard) var(--ease-out),
              background var(--motion-standard) var(--ease-out),
              box-shadow var(--motion-standard) var(--ease-out);
  box-shadow: 0 4px 15px rgba(0, 172, 237, 0.2);
}
.cta-content__btn svg {
  transition: transform var(--motion-standard) var(--ease-out);
}
.cta-content__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 172, 237, 0.3);
}
.cta-content__btn:hover svg {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 80px 0;
  }
  .cta-banner__inner {
    gap: 64px;
  }
  .cta-trust__tabs {
    gap: 8px;
  }
  .cta-trust__tab {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .cta-content__desc {
    font-size: 1rem;
  }
  .cta-content__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pf-reveal {
    transition-duration: 0.01ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .medal__body {
    transition: none !important;
    transform: none !important;
  }
  .medal__highlight {
    display: none !important;
  }
  .pf-toggle__pill {
    transition-duration: 0.01ms !important;
  }
  .pf-nav {
    transition-duration: 0.01ms !important;
  }
  .pf-showcase__card,
  .pf-mindmap-linear__node,
  .pf-org__node,
  .cta-trust__tab {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE PERFORMANCE SCALING
   ============================================================ */
@media (max-width: 768px) {
  .pf-nav--compact {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .pf-turnover__box {
    backdrop-filter: blur(10px);
  }
  .medal__body {
    /* Disable 3D tilt on touch devices */
    transform: none !important;
  }
  .medal:hover .medal__body {
    transform: translateY(-6px) scale(1.03) !important;
  }
}