.dashboardHero {
  position: relative;
  height: 100px;
}

.heroWave {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

/****************************** Section hero ****************************************/

.methodology_hero {
  position: relative;
  background: linear-gradient(
    180deg,
    #e3f5f4 0%,
    #eef8f7 12%,
    #f7f9f8 25%,
    #f7f9f8 80%,
    #eef8f7 92%,
    #eef6f2 100%
  );
  text-align: center;
  padding: 20px 0 200px;
}

.container h1 {
  margin: 10px 0 16px;
  color: black;
  font-size: clamp(40px, 4.2vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  font-family: "Roboto", sans-serif;
}

.methodologyIntro {
  color: black;
  text-align: center;
  font-family: "Roboto", sans-serif;
  padding-top: 30px;
  font-size: 20px;
}

.essayBtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, #14969a, #0f7f82);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 5px 10px white;
  margin-top: 30px;
}

.methodology_actions a {
  color: white;
}

.essayBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 5px #14969a;
}

.essayBtn i {
  font-size: 25px;
}

/************************** Wave ********************************/

.impactWave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;
  z-index: 2;
  display: block;
}

/**************** Section overview **********************/
.methodology-overview {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 75%,
    #f0fbfb 85%,
    #e8f8f7 93%,
    #e3f5f4 100%
  );
  padding: 20px 20px 36px;
}

.methodology-methodInfo {
  text-align: center;
  margin-bottom: 18px;
}

.methodSubTitle {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: black;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.methodMainText {
  max-width: 680px;
  margin: 0 auto;
  color: black;
  font-size: 20px;
  line-height: 1.7;
  font-family: "Roboto", sans-serif;
}

.userType1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.type-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.type-btn:hover {
  background: #eef6f6;
}

.type-btn.active {
  background: #0f8b8d;
  color: white;
  border-color: #0f8b8d;
}

.hidden {
  display: none;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 460px));
  gap: 28px;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.methodology-card {
  background: #ffffff;
  border: 1px solid #9fdad6;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  text-align: left;
  font-family: "Roboto", sans-serif;
}

.methodology-card h3 {
  margin-bottom: 8px;
  color: black;
  font-weight: 400;
  text-align: center;
}

.methodology-card p {
  color: black;
  margin: 10px 0 0;
}

.equation {
  margin-top: 8px;
  background: #e3f5f4;
  border-left: 4px solid #0f8b8d;
  border-radius: 8px;
  padding: 14px 16px;
  color: black;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.equation-symbol {
  font-size: 24px;
  line-height: 1;
}

.equation-symbol sub {
  font-size: 60%;
}

.equation-term {
  font-size: 18px;
  line-height: 1.2;
}

.equation-operator {
  font-size: 20px;
  line-height: 1;
}

.equation-fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.15;
  padding: 0 2px;
}

.equation-top {
  padding: 0 4px 3px;
  border-bottom: 1.5px solid #2a4359;
}

.equation-bottom {
  padding: 3px 4px 0;
}

.formula-note {
  margin-top: 12px;
  color: #46607a;
}

.methodology-section {
  padding: 30px 30px 0;
}

.methodology-section h2 {
  margin-bottom: 40px;
  margin-top: 20px;
  color: black;
  padding: 28px 20px 0;
  font-family: "Roboto", sans-serif;
}

.methodology-section-alt {
  background: #ffffff;
}

.methodology-last-section {
  padding-bottom: 72px;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.factor-card {
  text-align: center;
}

.factor-card h3 {
  margin-bottom: 10px;
  color: black;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}

.factor-card h3 i {
  color: black;
  margin-right: 15px;
}

.methodology-table-wrap {
  overflow-x: auto;
  border: 1px solid #9fdad6;
  border-radius: 10px;
  background: #ffffff;
}

.methodology-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.factor-table {
  min-width: 0;
}

.methodology-table thead th {
  padding: 14px 16px;
  color: black;
  background: #e3f5f4;
  border-bottom: 1px solid #9fdad6;
  font-weight: 700;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
}

.methodology-table tbody td {
  padding: 12px 16px;
  color: black;
  border-bottom: 1px solid #edf3fb;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.methodology-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 992px) {
  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .methodology_hero {
    padding: 40px 20px 150px;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .methodology-card {
    padding: 18px;
  }

  .essayBtn {
    padding: 12px 24px;
  }
}
