/* Technology Hero */
.technology-section {
  padding: 140px 60px 40px;
  background: linear-gradient(90deg, rgba(31, 127, 149, 0.10) 0%, rgba(110, 169, 248, 0.10) 100%);
}

.technology-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tech-icon {
  width: 60px;
  height: 60px;
  position: relative;
}

.tech-icon-bg {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 6px;
  left: 6px;
  background: #1F7F95;
  opacity: 0.20;
}

.tech-icon-border {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 6px;
  left: 6px;
  outline: 1.2px solid #1F7F95;
  outline-offset: -0.6px;
}

.technology-title {
  color: #1F7F95;
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 0.26px;
  margin: 0;
}

.technology-description {
  max-width: 746px;
  margin-top: 24px;
  color: #5C5F30;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

/* Process Flow Diagram */
.pfd-section {
  width: 100%;
  padding: 80px 48px;
  background: linear-gradient(153deg, #F9FAFB 0%, white 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pfd-inner {
  width: 100%;
  max-width: 1270px;
  padding: 0 123px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pfd-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pfd-header-row {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 16px;
}

.pfd-section-label,
.pfd-rev {
  color: #99A1AF;
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
}

.pfd-divider {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.pfd-title {
  padding-top: 4px;
  color: #101828;
  font-size: 48px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 48px;
  letter-spacing: 1.2px;
}

.pfd-desc {
  padding-top: 8px;
  max-width: 672px;
  color: #6A7282;
  font-size: 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  line-height: 22.75px;
}

.pfd-timeline-wrapper {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
}

.pfd-timeline-inner {
  min-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.pfd-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 64px 1fr 64px 1fr 64px 1fr 64px;
  align-items: center;
  height: 64px;
}

.pfd-circle {
  width: 64px;
  height: 64px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.10), 0px 10px 7.5px rgba(0, 0, 0, 0.10);
  outline-offset: -4px;
  background: white;
  transition: background 0.3s, outline 0.3s;
}

.pfd-circle-text {
  text-align: center;
  font-size: 14px;
  font-family: Inter, sans-serif;
  font-weight: 700;
  line-height: 20px;
  transition: color 0.3s;
}

.pfd-circle.active {
  color: white;
}

/* Connectors */
.pfd-connector {
  height: 2px;
  position: relative;
}

.pfd-connector-dot {
  width: 8px;
  height: 8px;
  position: absolute;
  left: 0;
  top: -3px;
  border-radius: 50%;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.10), 0px 1px 3px rgba(0, 0, 0, 0.10);
}

.pfd-conn-1 {
  background: linear-gradient(90deg, #457A00 0%, #1F7F95 100%);
}

.pfd-conn-2 {
  background: linear-gradient(90deg, #1F7F95 0%, #6EA9F8 100%);
}

.pfd-conn-3 {
  background: linear-gradient(90deg, #6EA9F8 0%, #83C7CE 100%);
}

.pfd-conn-4 {
  background: linear-gradient(90deg, #83C7CE 0%, #B3CF6D 100%);
}

.pfd-dot-1 {
  background: #457A00;
}

.pfd-dot-2 {
  background: #1F7F95;
}

.pfd-dot-3 {
  background: #6EA9F8;
}

.pfd-dot-4 {
  background: #83C7CE;
}

/* Drop line */
.pfd-drop-area {
  width: 100%;
  height: 48px;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 64px 1fr 64px 1fr 64px 1fr 64px;
}

.pfd-drop-line {
  width: 2px;
  height: 48px;
  border-radius: 999px;
  position: absolute;
  left: 31px;
  transition: left 0.4s ease;
  transform-origin: top center;
}

/* Detail card */
.pfd-card {
  align-self: stretch;
  background: white;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  outline-offset: -2px;
  overflow: hidden;
  transition: outline 0.4s;
}

.pfd-card-content {
  display: flex;
  min-height: 283px;
}

.pfd-card-image {
  width: 510px;
  min-height: 283px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.pfd-card-overlay {
  width: 100%;
  min-height: 283px;
  opacity: 0.10;
}

.pfd-card-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.pfd-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pfd-card-accent {
  width: 4px;
  height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
}

.pfd-card-title {
  font-size: 20px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  line-height: 28px;
}

.pfd-card-text {
  color: #717182;
  font-size: 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  line-height: 22.75px;
}

.pfd-card-metric {
  width: 100%;
  border-top: 1px solid;
  padding-top: 12px;
}

.pfd-card-metric-inner {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pfd-card-metric-value {
  font-size: 24px;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  line-height: 32px;
}

.pfd-card-metric-label {
  color: #99A1AF;
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 16px;
}

/* Step color theming — set via data-pfd-step on .pfd-card */
.pfd-card[data-pfd-step="1"] {
  outline: 2px solid rgba(69, 122, 0, 0.19);
}

.pfd-card[data-pfd-step="2"] {
  outline: 2px solid rgba(31, 127, 149, 0.19);
}

.pfd-card[data-pfd-step="3"] {
  outline: 2px solid rgba(110, 169, 248, 0.19);
}

.pfd-card[data-pfd-step="4"] {
  outline: 2px solid rgba(131, 199, 206, 0.19);
}

.pfd-card[data-pfd-step="5"] {
  outline: 2px solid rgba(179, 207, 109, 0.19);
}

/* Per-step content theming — each step keeps its own fixed accent color regardless of which is active */
.pfd-hidden {
  display: none;
}

#step-content-1 .pfd-card-image {
  background-image: url(../images/tec/process1.webp);
}

#step-content-1 .pfd-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #457A00 100%);
}

#step-content-1 .pfd-card-accent {
  background: #457A00;
}

#step-content-1 .pfd-card-title {
  color: #457A00;
}

#step-content-1 .pfd-card-metric {
  border-color: rgba(69, 122, 0, 0.13);
}

#step-content-1 .pfd-card-metric-value {
  color: #457A00;
}

#step-content-2 .pfd-card-image {
  background-image: url(../images/tec/process2.webp);
}

#step-content-2 .pfd-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #1F7F95 100%);
}

#step-content-2 .pfd-card-accent {
  background: #1F7F95;
}

#step-content-2 .pfd-card-title {
  color: #1F7F95;
}

#step-content-2 .pfd-card-metric {
  border-color: rgba(31, 127, 149, 0.13);
}

#step-content-2 .pfd-card-metric-value {
  color: #1F7F95;
}

#step-content-3 .pfd-card-image {
  background-image: url(../images/tec/process3.webp);
}

#step-content-3 .pfd-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #6EA9F8 100%);
}

#step-content-3 .pfd-card-accent {
  background: #6EA9F8;
}

#step-content-3 .pfd-card-title {
  color: #6EA9F8;
}

#step-content-3 .pfd-card-metric {
  border-color: rgba(110, 169, 248, 0.13);
}

#step-content-3 .pfd-card-metric-value {
  color: #6EA9F8;
}

#step-content-4 .pfd-card-image {
  background-image: url(../images/tec/process4.webp);
}

#step-content-4 .pfd-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #83C7CE 100%);
}

#step-content-4 .pfd-card-accent {
  background: #83C7CE;
}

#step-content-4 .pfd-card-title {
  color: #83C7CE;
}

#step-content-4 .pfd-card-metric {
  border-color: rgba(131, 199, 206, 0.13);
}

#step-content-4 .pfd-card-metric-value {
  color: #83C7CE;
}

#step-content-5 .pfd-card-image {
  background-image: url(../images/tec/process5.webp);
}

#step-content-5 .pfd-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #B3CF6D 100%);
}

#step-content-5 .pfd-card-accent {
  background: #B3CF6D;
}

#step-content-5 .pfd-card-title {
  color: #B3CF6D;
}

#step-content-5 .pfd-card-metric {
  border-color: rgba(179, 207, 109, 0.13);
}

#step-content-5 .pfd-card-metric-value {
  color: #B3CF6D;
}

/* Step-specific circle initial states (set via JS on click, these are fallbacks) */
#circle-1 {
  background: #457A00;
  outline: 4px solid #457A00;
}

#circle-1 .pfd-circle-text {
  color: white;
}

#circle-2 {
  outline: 4px solid #1F7F95;
}

#circle-2 .pfd-circle-text {
  color: #1F7F95;
}

#circle-3 {
  outline: 4px solid #6EA9F8;
}

#circle-3 .pfd-circle-text {
  color: #6EA9F8;
}

#circle-4 {
  outline: 4px solid #83C7CE;
}

#circle-4 .pfd-circle-text {
  color: #83C7CE;
}

#circle-5 {
  outline: 4px solid #B3CF6D;
}

#circle-5 .pfd-circle-text {
  color: #B3CF6D;
}

/* Facility Section */
.pfd-facility {
  background: linear-gradient(135deg, #F9FAFB 0%, #ffffff 100%);
  text-align: center;
  padding: 60px 60px 80px;
}

.pfd-facility-header {
  margin-bottom: 24px;
}

.pfd-facility-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #101828;
  font-family: Inter, sans-serif;
}

.pfd-facility-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 28px;
  color: #364153;
  font-family: Inter, sans-serif;
}

/* Environmental Impact Section */
.impact-section {
  padding: 80px 60.75px;
  background: linear-gradient(135deg, #F9FAFB 0%, #ffffff 100%);
  font-family: Inter, sans-serif;
}

.impact-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.impact-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.37px;
  color: #101828;
}

.impact-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.impact-card {
  flex: 1;
  min-width: 280px;
  min-height: 220px;
  height: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  position: relative;
  overflow: hidden;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.impact-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.15), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.impact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.impact-card:nth-child(1) .impact-card-icon {
  background: rgba(69, 122, 0, 0.13);
}

.impact-card:nth-child(2) .impact-card-icon {
  background: rgba(110, 169, 248, 0.13);
}

.impact-card:nth-child(3) .impact-card-icon {
  background: rgba(131, 199, 206, 0.13);
}

.impact-card:nth-child(4) .impact-card-icon {
  background: rgba(241, 176, 102, 0.13);
}

.impact-card-icon img {
  width: 32px;
  height: 32px;
}

.impact-value {
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: 0.12px;
}

.impact-value.green {
  color: #457A00;
}

.impact-value.blue {
  color: #6EA9F8;
}

.impact-value.cyan {
  color: #83C7CE;
}

.impact-value.orange {
  color: #F1B066;
}

.impact-label {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #101828;
  margin-top: 24px;
}

.impact-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #4A5565;
  margin-top: 4px;
}

.impact-card-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0;
  right: 0;
  opacity: 0.20;
  border-radius: 0 16px 0 16px;
}

.impact-card-deco.green {
  background: linear-gradient(135deg, transparent 50%, #457A00 50%);
}

.impact-card-deco.blue {
  background: linear-gradient(135deg, transparent 50%, #6EA9F8 50%);
}

.impact-card-deco.cyan {
  background: linear-gradient(135deg, transparent 50%, #83C7CE 50%);
}

.impact-card-deco.orange {
  background: linear-gradient(135deg, transparent 50%, #F1B066 50%);
}

/* Partner With Us Section */
.partner-with-us {
  position: relative;
  background: rgba(31, 127, 149, 0.03);
  border-radius: 24px;
  outline: 1px solid rgba(31, 127, 149, 0.19);
  outline-offset: -1px;
  overflow: hidden;
  margin: 96px auto 96px;
  max-width: 800px;
  padding: 49px 64px;
}

.partner-deco-top {
  position: absolute;
  width: 128px;
  height: 128px;
  top: 1px;
  right: 1px;
  background: linear-gradient(135deg, transparent 50%, rgba(110, 169, 248, 0.06) 50%);
}

.partner-deco-bottom {
  position: absolute;
  width: 128px;
  height: 128px;
  bottom: 217px;
  left: 1px;
  background: linear-gradient(315deg, transparent 50%, rgba(179, 207, 109, 0.06) 50%);
}

.partner-content {
  text-align: center;
}

.partner-icon {
  width: 64px;
  height: 64px;
  background: #1F7F95;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.partner-icon svg {
  width: 32px;
  height: 32px;
}

.partner-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #0A0A0A;
  margin-bottom: 24px;
}

.partner-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #000000;
  margin-bottom: 32px;
}

.partner-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-partner-primary {
  padding: 10px 24px;
  background: #1F7F95;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-partner-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 127, 149, 0.3);
}

.btn-partner-secondary {
  padding: 10px 24px;
  background: white;
  color: #1F7F95;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 8px;
  border: 1px solid #1F7F95;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-partner-secondary:hover {
  background: rgba(31, 127, 149, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .technology-section {
    padding: 60px 32px 30px;
  }

  .pfd-section {
    padding: 60px 32px;
  }

  .pfd-facility {
    padding: 40px 32px 60px;
  }

  .pfd-inner {
    padding: 0;
  }

  .pfd-card-image {
    width: 360px;
    min-height: 240px;
  }

  .impact-section {
    padding: 60px 32px;
  }

  .partner-with-us {
    padding: 49px 32px;
    margin: 60px auto;
  }
}

@media (max-width: 768px) {
  .technology-section {
    padding: 50px 20px 24px;
  }

  .technology-title {
    font-size: 36px;
    line-height: 44px;
  }

  .technology-description {
    font-size: 16px;
  }

  .pfd-section {
    padding: 40px 20px;
  }

  .pfd-facility {
    padding: 32px 20px 48px;
  }

  .pfd-title {
    font-size: 36px;
    line-height: 40px;
  }

  .pfd-card-content {
    flex-direction: column;
    min-height: auto;
  }

  .pfd-card-image {
    width: 100%;
    min-height: 200px;
  }

  .pfd-card-overlay {
    min-height: 200px;
  }

  .impact-section {
    padding: 48px 20px;
  }

  .impact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .partner-with-us {
    margin: 48px auto;
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .technology-section {
    padding: 40px 16px 20px;
  }

  .pfd-section {
    padding: 32px 16px;
  }

  .pfd-facility {
    padding: 24px 16px 40px;
  }

  .pfd-circle {
    width: 48px;
    height: 48px;
  }

  .pfd-circle-text {
    font-size: 12px;
  }

  .pfd-card-image {
    min-height: 160px;
  }

  .pfd-card-overlay {
    min-height: 160px;
  }

  .impact-section {
    padding: 40px 16px;
  }

  .impact-value {
    font-size: 52px;
    line-height: 56px;
  }
}