@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  --bg-color: #ecffeb;
  --text-bold: #1E293B;
  --point-color: #1E293B;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%; 
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit; 
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.blank {
  height: 80px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  width: 100%;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 100;
}

.header_flex {
  display: flex;
  gap: 150px;
  align-items: center;
}

header .wrap {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.main_nav {
  display: flex;
  font-size: 18px;
  font-weight: 500;
  gap: 150px;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background-color: #fff;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%; 
  width: 450px; 
  height: 100vh;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  padding: 100px 40px;
  transition: right 0.4s ease-in-out; 
  background: var(--bg-color);
  z-index: 100;
}

.nav-menu h3 {
  margin-bottom: 30px;
}

.nav-menu.active {
  right: 0;
  overflow-y: auto;
}

.nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.nav-menu ul li {
  display: flex;
  align-items: center;
}

.nav-menu ul li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--point-color);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

.nav-menu a {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--point-color);
}

.visual_sec {
  background-color: var(--bg-color);
  padding: 60px 0;
}

.visual_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.visual_text {
  flex: 1.5;
}

.visual_text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-bold);
  margin-bottom: 15px;
}

.visual_text p {
  font-size: 18px;
  color: #444;
}

.visual_img {
  width: 50%;
  height: 250px;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #333;
  overflow: hidden;
  flex: 1.5;
}

.visual_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.grid_sec {
  padding: 60px 0;
}

.card_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.card_item {
  position: relative;
  height: 160px;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
}

.card_item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(60%);
  transform: scale(1.0);
  transition: transform 0.4s ease-in-out;
}

.card_item:hover img {
  transform: scale(1.08);
}

.card_title {
  position: absolute;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

.bottom_sec {
  padding: 0 0 60px 0;
}

.bottom_flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

.bottom_item {
  flex: 1;
  height: 220px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 35px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.bottom_item .bottom_img {
  max-height: 100%;
}
.bottom_item .bottom_img img {
  height: 100%;
}
.bottom_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.bottom_title {
  font-size: 22px;
  font-weight: 700;
  color: var(--point-color);
  transition: color 0.3s ease;
}

.bottom_btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--point-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bottom_btn svg {
  width: 16px;
  height: 16px;
}

.bottom_item:hover {
  background-color: var(--bg-color);
  border-color: var(--bg-color);
}

.bottom_item:hover .bottom_title {
  color: var(--point-color);
}

.bottom_item:hover .bottom_btn {
  background-color: var(--point-color);
  color: #fff;
}

.visual_banner_sec {
  text-align: center;
}

.visual_banner_sec img {
  width: 50px;
}

.visual_banner_sec.sub .flexbox {
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.visual_banner_sec.sub .flexbox a {
  width: 50px;
}
.visual_banner_sec .wrap {
  background-color: var(--bg-color);
  padding: 40px 0;
}

.visual_banner_sec h2 {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.list_content_sec {
  padding: 60px 0 60px 0;
}

.info_list {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding: 0 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.info_item strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.info_item p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .header_flex {
    gap: 30px;
  }
  .main_nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .blank {
    height: 70px;
  }

  header .wrap {
    height: 70px;
  }

  .nav-menu {
    width: 67%;
    padding: 90px 30px;
  }

  .nav-menu h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-bold);
    margin-bottom: 15px;
  }

  .nav-menu ul {
    gap: 16px;
    margin-bottom: 25px;
  }

  .nav-menu ul li {
    font-size: 15px;
  }

  .nav-menu ul li::before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    background-color: var(--point-color);
  }

  .nav-menu a {
    font-size: 15px;
    font-weight: 500;
  }

  .visual_flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .visual_img {
    width: 100%;
    height: 200px;
  }

  .visual_banner_sec.sub .flexbox {
    text-align: center;
    justify-content: center;
    padding: 0 15px;
  }
  .visual_banner_sec.sub .flexbox a {
    width: 30px;
  }
  .visual_banner_sec img {
    width: 100%;
  }

  .card_grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .card_item {
    height: 140px;
  }

  .bottom_flex {
    flex-direction: column;
    gap: 20px;
  }

  .bottom_item {
    height: 180px;
    padding: 25px 30px;
  }

  .bottom_btn {
    margin-top: 20px;
  }

  .info_list {
    gap: 35px;
  }

  .info_item strong {
    font-size: 18px;
  }
  .bottom_item .bottom_img img {
      height: 80px;
  }
}