.calculator-hero {
  padding: 120px 0;
  background: var(--primary-blue);
  color: white;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 40px;
}

.calc-title span {
  color: var(--primary-green);
}

.calc-subtitle {
  margin-top: 20px;
  font-size: 1.2rem;
  max-width: 520px;
  opacity: 0.95;
}

.calc-actions {
  margin-top: 35px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.calc-btn-primary {
  padding: 14px 36px;
  background: var(--primary-green);
  color: #000;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: pulseGlow 2.8s infinite;
}

/* Hover */
.calc-btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}

/* Icon animation */
.calc-btn-primary i {
  transition: transform 0.35s ease;
}

.calc-btn-primary:hover i {
  transform: translateX(4px);
}

/* Subtle pulse */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(0,0,0,0.25); }
  50% { box-shadow: 0 0 18px rgba(213,224,65,0.65); }
  100% { box-shadow: 0 0 0 rgba(0,0,0,0.25); }
}

.calc-btn-secondary {
  padding: 14px 32px;
  border: 2px solid white;
  color: white;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-heading);
  transition: all 0.35s ease;
  background: transparent;
}

/* Hover */
.calc-btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Icon */
.calc-btn-secondary i {
  transition: transform 0.35s ease;
}

.calc-btn-secondary:hover i {
  transform: rotate(-8deg) scale(1.1);
}


.calc-hero-img {
  max-width: 460px;
}

.calc-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}


/* ----------------------- */

.calc-features {
  padding: 100px 0;
  background: var(--light-grey);
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--secondary-blue);
  margin-bottom: 50px;
}


/* GRID – SAME FEEL AS BUZZ / LEARN */
.features-grid {
  max-width: 1200px;          
  margin: 0 auto;         
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.feature-card {
  background: white;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/* ICON */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

/* TEXT */
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-blue);
}

.feature-card p {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
/* --------------------------- */

.calc-steps {
  padding: 70px 0;
  background: #ffffff;
}

/* MODERN FLOW */
.steps-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* STEP CARD */
.step-modern {
  background: var(--light-grey);
  border-radius: 22px;
  padding: 35px 30px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.step-modern:hover {
  transform: translateY(-6px);
}

/* ICON */
.step-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}

/* TEXT */
.step-modern h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary-blue);
  margin-bottom: 10px;
}

.step-modern p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* CONNECTING LINE */
.step-line {
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 5px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .step-line {
    display: none;
  }

  .steps-modern {
    gap: 30px;
  }
}

/* ----------------------------- */

.calc-cta {
  padding: 80px 0;
  background: var(--primary-blue);
  color: white;
}

.calc-cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 40px;
}


/* =====================================
   WATER FOOTPRINT – NEW SECTION
===================================== */

.water-footprint-section {
  padding: 110px 0;
  background: var(--light-grey);
}

/* MAIN CARD */
.water-card {
  background: white;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  padding: 60px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  align-items: center;
}

/* LEFT VISUAL */
.water-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ANIMATED RINGS */
.water-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(46,82,164,0.25);
  animation: ripple 6s infinite ease-in-out;
}

.ring-1 {
  width: 220px;
  height: 220px;
}

.ring-2 {
  width: 300px;
  height: 300px;
  animation-delay: 2s;
}

@keyframes ripple {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* CENTER ICON */
.water-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 2;
}

/* METRIC LABEL */
.water-metric {
  position: absolute;
  bottom: -20px;
  text-align: center;
  background: white;
  padding: 12px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.water-metric span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.water-metric h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

/* RIGHT CONTENT */
.water-content h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--secondary-blue);
}

.water-content h2 span {
  color: var(--primary-blue);
}

.water-content p {
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 480px;
  opacity: 0.9;
}

/* POINTS */
.water-points {
  margin-top: 25px;
  padding: 0;
  list-style: none;
}

.water-points li {
  margin-bottom: 12px;
  font-weight: 600;
}

.water-points i {
  color: var(--primary-green);
  margin-right: 8px;
}

/* ACTIONS */
.water-actions {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.water-link {
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .water-card {
    grid-template-columns: 1fr;
    padding: 45px;
    gap: 40px;
    text-align: center;
  }

  .water-content p {
    margin: auto;
  }

  .water-actions {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .water-content h2 {
    font-size: 2.2rem;
  }

  .water-card {
    padding: 35px 25px;
  }
}


/* =====================================
   CALCULATOR HUB
===================================== */

.calculator-hub {
  padding: 110px 0;
  background: #ffffff;
}

/* TITLE */
.hub-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary-blue);
}

.hub-title span {
  color: var(--primary-blue);
}

.hub-subtitle {
  margin-top: 14px;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* GRID */
.hub-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* CARD */
.hub-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 40px 34px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Glow */
.hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(213,224,65,0.35),
    transparent 60%
  );
  opacity: 0;
  transition: 0.35s;
}

.hub-card:hover::before {
  opacity: 1;
}

.hub-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 46px rgba(46,82,164,0.28);
}

/* ICON */
.hub-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

/* TEXT */
.hub-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--secondary-blue);
  margin-bottom: 12px;
}

.hub-card p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.85;
}

/* CTA */
.hub-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-title {
    font-size: 2.2rem;
  }
}


/* ===================================
    VULNERABILITY INDEX
===================================== */

.vuln-hero {
  padding: 120px 0;
  background: var(--primary-blue);
  color: white;
}

.vuln-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
}

.vuln-hero h1 span {
  color: var(--primary-green);
}

.vuln-hero p {
  margin-top: 18px;
  font-size: 1.15rem;
  max-width: 520px;
}

.vuln-tags {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vuln-tags span {
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  border: 1px solid white;
}

/* -------------------------- */

/* ==========================
  HOW THE INDEX WORKS (NEW)
========================== */

.vuln-method {
  padding: 110px 0;
  background: linear-gradient(
    135deg,
    rgba(46,82,164,0.08),
    rgba(213,224,65,0.12)
  );
  position: relative;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Glass-style cards */
.method-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(46,82,164,0.18);
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.4);
}

.method-card i {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.method-card h4 {
  font-weight: 800;
  color: var(--secondary-blue);
  margin-bottom: 10px;
}

.method-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Hover */
.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(46,82,164,0.32);
}

/* Responsive */
@media (max-width: 992px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .method-grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------- */

.vuln-table {
  padding: 90px 0;
  background: white;
}

.table-card {
  background: #f9fbff;
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  overflow-x: auto;
}

.table-source {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* -- maps --- */

.vuln-maps {
  padding: 100px 0;
  background: #25417c;
  color: white;
}

/* .vulnSwiper img {
  max-height: 360px;
} */

.vulnSwiper p {
  margin-top: 10px;
  font-weight: 700;
  text-align: center;
}

.vulnSwiper {
  width: 100%;
  margin: 0 auto;
}

.vulnSwiper .swiper-slide {
  flex: 0 0 auto;
  width: auto;
}

.vulnSwiper img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 18px;
}

.vulnSwiper .swiper-pagination {
  bottom: -30px;
}


@media (max-width: 768px) {
  .vulnSwiper img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .vulnSwiper img {
    max-height: 240px;
  }
}

.vulnSwiper .swiper-slide:hover img {
  transform: translateY(-6px);
  transition: 0.3s ease;
}


/* --------------- */
.vuln-insights {
  padding: 110px 0 50px 0;
  background: #ffffff;
}

/* LEFT IMAGE */
.vuln-cycle-img {
  max-width: 420px;
  width: 100%;
}

/* TEXT */
.vuln-insight-text {
  margin-top: 16px;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  opacity: 0.9;
}

/* POINTS */
.vuln-points {
  margin-top: 22px;
  padding-left: 0;
  list-style: none;
}

.vuln-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--secondary-blue);
}

.vuln-points i {
  color: var(--primary-green);
  font-size: 1.1rem;
}

/* MISSIONS BLOCK */


.vuln-emission-block {
  margin-top: 90px;
}

.emission-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-blue);
  margin-bottom: 40px;
}

/* EMISSION CARD */

.emission-card {
  background: transparent;
  padding: 0;
  box-shadow: none;
  text-align: center;
  transition: 0.3s ease;
}

.emission-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.18));
}

.emission-card:hover img {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 26px 48px rgba(46,82,164,0.35));
}

.emission-card p {
  margin-top: 14px;
  font-weight: 700;
  color: var(--secondary-blue);
}

/* HOVER */
/* .emission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(46,82,164,0.3);
} */

/* RESPONSIVE */
@media (max-width: 768px) {
  .vuln-cycle-img {
    max-width: 300px;
  }

  .emission-title {
    font-size: 1.6rem;
  }
}

.map-source{
  display: flex;
  justify-content: center;
  margin-top: 10px;
}


/* ================ */
/* ---- image zoom and slider --- */
/* ================= EMISSION SLIDER ================= */

.vuln-emission-block {
  padding: 50px 0;
}

/* Card */
.emission-card {
  background: #fff;
  border: 1px solid gray;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  height: 100%;
}

/* Equal image size */
.emission-card img {
  width: 100%;
  height: 280px;
  object-fit: auto;
  padding: 20px;
  /* margin: 20px; */
}

/* Swiper spacing */
.emissionSwiper {
  padding: 20px 10px 60px;
}

/* Pagination */
.emissionSwiper .swiper-pagination-bullet {
  background: var(--primary-blue);
  opacity: 0.4;
} 

.emissionSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Arrows */
.emissionSwiper .swiper-button-next,
.emissionSwiper .swiper-button-prev {
  color: var(--primary-blue);
}


.image-preview-modal {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.image-preview-modal img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 18px;
}

.preview-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #111;
  border-radius: 50%;
  padding: 10px;
}



/* ====================== */
/* --- table --- */

/* ================= HRI TABLE ================= */

.hri-table-section {
  padding: 80px 0;
  background: #ffffff;
}

.hri-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hri-table th {
  background: var(--primary-blue);
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  border: 1px solid #e5e5e5;
}

.hri-table th.center {
  text-align: center;
}

.hri-table thead tr:first-child th {
  font-weight: 800;
}

.hri-table td {
  padding: 10px;
  border: 1px solid #eee;
  text-align: left;
}

.hri-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}



/* Responsive */
@media (max-width: 992px) {
  .hri-table {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hri-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


.hri-ut-table-section {
  padding: 80px 0;
  background: #ffffff;
}

.hri-ut-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

/* ---- table 2 ---- */
/* HEADER */
.hri-ut-table thead th {
  background: var(--primary-blue);
  color: #ffffff;
  padding: 14px 12px;
  border: 1px solid #ffffff;
  text-align: left;
  font-weight: 700;
}

.hri-ut-table thead th.center {
  text-align: center;
}

/* DARK FIRST COLUMN */
.hri-ut-table thead th.dark-col {
  background: var(--primary-blue);
}

/* BODY */
.hri-ut-table td {
  padding: 12px;
  border: 1px solid #f0f0f0;
  color: #444;
}

.hri-ut-table tbody tr:nth-child(odd) {
  background: #f3f3f3;
}

.hri-ut-table tbody tr:nth-child(even) {
  background: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hri-ut-table {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hri-ut-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
