/* Nav */
.nav {
  position: relative;
  width: 100%;
  height: 110px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.nav-wrapper {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.nav-item {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 50px;
  background-color: #f9f9f9;
  color: #666666;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item:hover {
  background-color: #eee;
}

.nav-item.active {
  background-color: #00b84a;
  color: #fff;
  font-weight: 800;
}

/* Card Section */
.card-section {
  padding: 60px 0;
  background-color: #f2f7f0;
  text-align: center;
}

.card-section h2 {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #3b3b3b;
}

.card-section .sub-heading {
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #3b3b3b;
  margin-top: 5px;
  margin-bottom: 12px;
}

.card-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 28px;
}

.card-title-sub {
  display: flex;
  justify-content: flex-start;
  padding-left: 30px;
  padding-bottom: 10px;
  margin-top: 72px;
}
.card-title-sub img {
  width: auto !important;
  height: 34px !important;
}

.card-title-inner-sub {
  margin-top: 86px;
  padding-left: 10px;
  padding-bottom: 10px;
}

.card-title .highlight {
  color: #007f41;
}

.card-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  max-width: 1280px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  max-width: 96%;
}

.card-item {
  position: relative;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  height: auto;
}

.card-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-item:hover {
  transform: translateY(-8px);
}

.card-arrow {
  width: 36px;
  height: 36px;
  background-color: #e8f3e3;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG Arrow - inline or background-image */
.card-arrow::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #64755c;
  border-right: 2px solid #64755c;
  transform: rotate(45deg);
}

.card-item h3 {
  font-family: "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #007f41;
  margin-bottom: 15px;
  padding-right: 40px; /* Space for arrow */
}

.card-text {
  position: relative;
  text-align: left;
  left: 20px;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 7.6px;
  line-height: 1.25;
  color: #a9a9a9;
  margin-bottom: 15px;
  flex-grow: 1;
}

.card-item .benefit {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.25;
  color: #246344;
  display: block;
  margin-top: auto; /* Pushes benefit/footnote to bottom */
  margin-bottom: 8px;
}

.card-item .footnote {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.15;
  color: #a9a9a9;
  display: block;
}

/* Notice Sections */
.notice-section {
  padding: 30px 0;
  font-size: 10px;
}

.notice-section .notice-content {
  margin: 0 auto;
  padding: 0 20px;
}

.notice-light {
  background-color: #fff;
  color: rgba(96, 96, 96, 0.65);
}

.notice-gray {
  background-color: #747474;
  color: #fff;
}

.notice-section p {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 16px;
}

.notice-gray .notice-content p:last-child {
  text-align: center; /* Center the compliance text */
  margin-top: 20px;
}

/* Footer */
.bridge-footer {
  background-color: #3d3d3d;
  padding: 30px 0;
  text-align: center;
  height: 142px;
  color: #fff;
  font-family: "Pretendard", sans-serif;
  line-height: 2;
}

/* hover */
.scale-hover:hover {
  transform: scale(1.08);
  transition: transform 0.2s ease-in-out;
}
