/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  padding: 0 100px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 25px 0;
  transition: background 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 25.59px;
}

.header-scrolled {
  /*background-color: #202632;*/
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.top-logo {
  width: 133px;
}

.logo h1 {
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
}

.nav ul {
  margin-bottom: 0;
  display: flex;
  list-style: none;
  gap: 90px;
}

.nav a {
  color: var(--text-on-primary);
  text-decoration: none;
  font-size: 16px; /* 헤더 메뉴 폰트 크기는 고정 25.11.05 */
  /* font-weight: 500; */
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 상단은 더 어둡고, 하단으로 갈수록 밝아지는 오버레이 */
  background: linear-gradient(
    to bottom,
    rgba(7, 31, 84, 0.55) 0%,
    rgba(31, 120, 197, 0.35) 45%,
    rgba(91, 166, 224, 0.2) 70%,
    rgba(179, 217, 245, 0.1) 100%
  );
  box-sizing: border-box;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
  color: white;
  z-index: 3;
  position: absolute;
  left: 100px; /* 좌측 여백 */
  top: 55%;
  transform: translateY(-42%);
  bottom: 10px;
}

.hero-title {
  font-family: "Pretendard", sans-serif;
  font-size: clamp(36px, 2.86vw, 55px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 550;
  margin-bottom: 7.2rem;
}

.hero-subtitle {
  font-size: 1.65rem;
  margin-bottom: 4rem;
  opacity: 0.9;
  line-height: 1.6;
  color: var(--bg-primary);
}

.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 15;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
  width: 100%;
  min-height: 100vh;
  position: relative;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 8rem 10rem;
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  background: linear-gradient(to bottom, rgba(0, 48, 132, 0) 0%, #1f78c5 100%);
  box-sizing: border-box;
  z-index: 1;
  opacity: 0.3;
}

.features-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 1;
}

.xavier-content {
  align-items: flex-start;
}

.features-intro {
  width: 35%;
  display: flex;
  flex-direction: column;
}

.features-subtitle,
.partners-subtitle,
.cta-subtitle,
.effect-subtitle,
.content-subtitle {
  font-size: clamp(14px, 1.04vw, 20px);
  font-weight: bold;
  line-height: 150%;
  color: var(--primary);
}

.features-header {
  display: flex;
  justify-content: space-between;
}

.features-toggle {
  display: flex;
  gap: 2rem;

  > button {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    /* font-size: 1.6rem; */
    font-size: clamp(12px, 0.83vw, 16px);
    font-weight: 600;
    line-height: 150%;
  }
  p {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    /* font-size: 1.6rem; */
    font-size: clamp(12px, 0.83vw, 16px);
    font-weight: 600;
    line-height: 150%;
  }
}

.features-toggle > button:nth-child(1) {
  color: var(--primary);
}

.features-title,
.effect-title {
  font-size: clamp(32px, 3.3vw, 64px);
  font-weight: bold;
  margin-top: 0.8rem;
  margin-bottom: 3rem;
  line-height: 140%;
  color: var(--text-primary);
}

.xavier-features-sub {
  font-size: clamp(32px, 2.5vw, 52px);
}

.features-title2 {
  /* Xavier AI agent 핵심 기능 */

  width: 703px;
  height: 76px;
  left: calc(50% - 603px / 2 - 558.5px);
  top: 1229px;

  font-family: "Helvetica";
  font-style: normal;
  font-weight: 700;
  font-size: 45px;
  line-height: 140%;
  /* identical to box height, or 76px */

  color: #202632;
}

.features-description {
  width: 85%;
  /* font-size: 2.4rem; */
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 150%;
  letter-spacing: -0.48px;
  color: var(--text-primary);
  margin-top: 3.2rem;
}

.features-btn,
.cta-btn {
  display: flex;
  align-items: center;
  font-size: clamp(14px, 1.04vw, 20px);
  font-weight: bold;
  color: var(--primary);
  padding: 1.6rem 3.2rem;
  border: 1px solid var(--primary);
  border-radius: 100px;
  background: none;
  align-self: flex-start;
  width: auto;
  background-color: white;

  > img {
    margin-left: 1.6rem;
  }
}

.features-btn {
  margin-top: 8rem;
  transition: 0.3s ease-in-out;
}

.features-btn:hover,
.cta-btn:hover {
  background-color: var(--primary);
  color: white;
}

.features-btn:hover img,
.cta-btn:hover img {
  filter: brightness(0) invert(1);
}

.features-description2 {
  font-size: 1.3rem;
  margin-bottom: 60px;
  line-height: 1.8;
  max-width: 800px;
  opacity: 0.9;
}

#xavier_ai,
#webuilder {
  opacity: 1;
}

#webuilder {
  display: none;
  opacity: 0;

  > img {
    border-radius: 24px;
  }
}

.feature-cards {
  width: 50%;
  /* 데스크탑환경 카드 잘림 이슈로 주석처리 25.11.17 */
  /* height: calc(100vh - 8rem); */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  @media screen and (max-width: 1199px) {
    height: 100%;
    gap: 2rem;
  }
}

.feature-problem-cards {
  width: 50%;
}

.feature-problem-card1,
.feature-problem-card2-desc {
  font-size: clamp(24px, 2.22vw, 32px);
  line-height: 140%;
}

.feature-problem-card1 {
  background: var(--bg-secondary);
  padding: 5.2rem 4.8rem;
  border-radius: 24px;
  color: var(--text-secondary);
}

.problem-img-wrap {
  width: 100%;
  text-align: center;
  margin: 5.6rem 0;
}

.feature-problem-card2 {
  background: white;
  border-radius: 24px;
  border: 2px solid var(--line-secondary);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 11.4rem 4.8rem;
  @media screen and (max-width: 1199px) {
    padding: 10%;
  }
}

.feature-card {
  background: var(--bg-secondary);
  padding: 4.1rem 5.1rem;
  border-radius: 24px;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-section {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
}

.card-img {
  text-align: right;
}

.card-description {
  /* font-size: 1.6rem; */
  font-size: clamp(14px, 1.04vw, 16px);
  line-height: 140%;
}

.feature-img-wrap {
  width: 50%;
  height: calc(100vh - 8rem);

  > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.feature-card2 {
  /* Rectangle 1342 */
  background: #f3f5f6;
  padding: 46px 30px 36px;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
  box-shadow: 0 20px 40px rgba(6, 41, 92, 0.12),
    0 6px 14px rgba(6, 41, 92, 0.08);
}

.partners {
  background-color: var(--bg-secondary);
  height: calc(100vh - 7rem);
  /* max-height: ; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-primary);
}

.partners-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners-title {
  /* font-size: 6.4rem; */
  font-size: clamp(32px, 3.33vw, 64px);
  font-weight: bold;
  margin-top: 0.8rem;
  margin-bottom: 3rem;
  line-height: 140%;
}

.partners-exp {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 150%;
  width: 60%;
  word-break: keep-all;
  @media screen and (max-width: 1199px) {
    width: 80%;
  }
}

.partners-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 6.4rem;
  justify-content: center;
  align-items: center;
  width: 90%;

  > img {
    width: 15%;
  }
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}
.cards {
  display: flex;
  gap: 20px;
  width: 100%;
}
.card {
  flex: 1;
  position: relative;
  width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card img {
  width: 100%;
  display: block;
}
.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-weight: bold;
}
.card-content span {
  display: block;
}
.card-content .number {
  font-size: 18px;
  margin-bottom: 8px;
}
.card-content .text {
  font-size: 16px;
  line-height: 1.4;
}

.card-number {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: linear-gradient(180deg, #eaf4ff 0%, #d7ebff 100%);*/
  color: #2a78d1;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.card-title {
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: bold;
  margin-bottom: 1.6rem;
  width: 60%;
  word-break: keep-all;
}

.card-text-title {
  left: calc(50% - 603px / 2 - 558.5px);
  top: 2366px;

  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 140%;
  margin-bottom: 70px;
  /* identical to box height, or 76px */

  color: #202632;
}

.card-overlay {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 36px;

  /* richard-horvath-_nWaeTF6qo0-unsplash 1 */

  position: absolute;
  width: 1920px;
  height: 1080px;
  background: rgba(0, 0, 0, 0.3);
}

.card-subtitle {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Call to Action Section */
.cta {
  padding: 10rem;
  background-color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  height: 75vh;
}

.cta-contact {
  background-color: #eef6fb;
}

.cta-careers {
  background-color: var(--bg-secondary);
}

.cta-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  height: 100%;
  padding: 8rem;
}
.cta-title {
  font-size: clamp(24px, 2.08vw, 40px);
  font-weight: bold;
  margin: 0;
}

.cta-description {
  color: var(--text-primary);
  font-size: clamp(16px, 1.04vw, 20px);
  @media screen and (max-width: 1199px) {
    margin: 5% 0;
  }
}

.cta-btn {
  background-color: white;
}

.cta-button-secondary {
  background: white;
  color: #2a5298;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: #202632;
  color: white;
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex: 1;
  min-width: 300px;
}

.footer-info {
  margin: 0 60px;
}

.footer-logo h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer-logo-icon {
  width: 133px;
  margin-bottom: 16px;
}

.top-logo-icon {
  width: 111px;
  height: 20px;
}

.footer-location-icon {
  padding: 0 2px;
}

.footer-envelope-icon {
  padding: 0 5px;
}
.footer-pluger-text {
  padding: 0 4px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 18px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  display: none; /* 햄버거 아이콘 숨김 */
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .feature-card {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
} */

/* Rectangle 1341 */
.hero-overlay2 {
  box-sizing: border-box;

  position: absolute;
  width: 100%;
  /* height: 101%; */ /* 25.10.29 */

  background: linear-gradient(180deg, rgba(0, 48, 132, 0) 0%, #1f78c5 100%);
  /*border: 1px solid #000000;*/
}

/* Rectangle 1345 */
.features-overlay2 {
  position: absolute;
  width: 1920px;
  height: 1080px;
  left: calc(50% - 1920px / 2 + 227px);
  top: 1093px;

  background: linear-gradient(180deg, rgba(31, 120, 197, 0) 0%, #1f78c5 100%);
  transform: rotate(180deg);
}

.xavier-overlay {
  /* richard-horvath-_nWaeTF6qo0-unsplash 1 */

  position: absolute;
  width: 1920px;
  height: 1080px;

  background: rgba(0, 0, 0, 0.3);
}

.xavier-main {
  /* Rectangle 1346 */

  position: absolute;
  width: 1920px;
  height: 1080px;
  left: calc(50% - 1920px / 2);
  top: 1080px;

  background: #ffffff;
}

.xavier-main-content {
  /* Group 112406 */
  position: absolute;
  width: 1720px;
  height: 782px;
  left: 100px;
  top: 1229px;
}

.ai-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}
.ai-benefit {
  background: #f3f5f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.ai-benefit__number {
  font-size: 16px;
  font-weight: bold;
  color: #999;
  margin-bottom: 8px;
}
.ai-benefit__title {
  font-size: 18px;
  font-weight: bold;
  color: #0070c9;
  margin-bottom: 6px;
}
.ai-benefit__desc {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* 메인 배경 이미지 그라데이션 */
.hero-background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%; /* 그라데이션 높이 조정 */
  /* background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  ); */
  pointer-events: none;
}
.hero-background.main::after {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
/* 헤더 언어설정 드롭다운 */
.language_selector {
  position: relative;
}

.dropdown_btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-on-primary);
  text-decoration: none;
  /* font-size: clamp(12px, 0.85vw, 16px); */
  font-size: 16px; /* 헤더 언어설정 폰트 크기는 고정 25.11.05 */
  font-weight: 500;
  transition: opacity 0.3s ease;
  gap: 5px;
  align-items: center;
  display: flex;
  min-width: 100px;
}
.dropdown_btn:hover {
  opacity: 0.8;
}

.nav ul .dropdown_menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 150px;
  z-index: 100;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.dropdown_menu li {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.dropdown_menu li a {
  display: block;
  padding: 0;
  text-decoration: none;
  color: #000;
  border-radius: 8px;
  transition: all 0.2s ease;
  height: 100%;
  width: 100%;
  line-height: 60px;
}
.dropdown_menu li a:active {
  color: #000;
  font-weight: 500;
}
.dropdown_menu li a:not(.active) {
  opacity: 0.5; /* 흐리게 처리 */
}
.dropdown_menu li a:hover {
  background-color: #f0f0f0;
}
.language_selector:hover .dropdown_menu {
  display: block;
}

.dropdown_btn .globe_icon {
  height: 19px;
  width: auto;
}

/* careers */
.career-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-top: 9.4rem;
}

.career-desc {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 150%;

  color: var(--text-primary);
}

.career {
  padding: 8rem 10rem;
}

.career-card {
  border-radius: 24px;
  border: 1px solid var(--line-secondary);
  text-align: center;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.8rem 3.2rem;
}
.card-title.content-desc {
  margin: 2rem 0;
  @media screen and (max-width: 1199px) {
    margin: 0 0 1.6rem 0;
  }
}

.nav a.active {
  font-weight: bold;
}

.header.apply {
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fw-bold {
  font-size: clamp(32px, 1.8vw, 36px);
}
.mt-4,
.mt-5 {
  font-size: clamp(17px, 1.25vw, 24px);
}
.col-lg-8 p,
.col-lg-8 li,
.row.mb-3 {
  font-size: clamp(14px, 1.04vw, 16px);
  color: var(--text-secondary);
}
.btn.btn-primary.w-100,
.text-decoration-none.mb-4 {
  font-size: clamp(14px, 1.04vw, 16px);
}
#jobForm {
  font-size: clamp(14px, 1.04vw, 16px);
  font-weight: normal;
}
.text-danger.small {
  font-size: clamp(12px, 1vw, 14px);
}
.fw-bold.mb-2 {
  margin-bottom: 10%;
}
#position-title.text-muted {
  font-size: clamp(14px, 1.04vw, 16px);
  color: var(--text-secondary);
  font-weight: normal;
  margin: 2% 0;
}
.fw-bold.fw-info {
  font-size: clamp(17px, 1.25vw, 24px);
  margin: 2% 0;
}
#jobForm.mb-3,
#jobForm.mb-4,
#jobForm input,
#jobForm select {
  font-size: clamp(14px, 1.04vw, 16px);
}
.btn.btn-primary.btn-lg,
.mb-3.ft-info {
  font-size: clamp(17px, 1.25vw, 24px);
}

.container-404 {
  width: 100%;
  height: calc(100vh - 19.1rem - 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-top: 7.5rem;
}

.btn-404 {
  display: inline-block;
  align-self: center;
}

@media (max-width: 1500px) {
  .hamburger {
    margin-left: auto; /* 햄버거 버튼을 오른쪽 끝으로 밀어냄 */
    display: revert;
    right: 10px;
  }
  .nav ul {
    display: none;
  }
}

.effect {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 156, 255, 0.2) 100%
  );
  height: 80rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9.3rem;
  align-self: stretch;
  padding: 0 12rem;
}

.effect-header {
  text-align: center;
}

.effect-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  width: 100%;
  height: 36rem;
}

.effect-card {
  background: white;
  padding: 3.2rem;
  border-radius: 24px;
  width: 100%;
  height: 100%;
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-desc {
  width: 100%;
}

.webuilder-features {
  width: 100%;
  padding: 8rem 10rem;
}

.webuilder-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4rem;
  @media screen and (max-width: 1199px) {
    gap: 2rem;
  }
}

.webuilder-card {
  padding: 4.8rem;
  border-radius: 24px;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.webuilder-card-header {
  margin-bottom: 3.2rem;
}

.webuilder-title,
#position-title {
  font-size: clamp(20px, 1.8vw, 40px);
  line-height: 140%;
  font-weight: bold;
  width: 75%;
  @media screen and (max-width: 1199px) {
    width: 100%;
  }
}
.webuilder-desc {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 150%;
  width: 90%;
}

.position-features {
  width: 100%;
  padding: 12rem;
}

.position-intro {
  margin-bottom: 9.4rem;
  text-align: center;

  > p {
    width: 100%;
  }
}

.position-title {
  margin-bottom: 3.2rem;
  @media screen and (max-width: 1199px) {
    margin-bottom: 0;
  }
}

.position-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  @media screen and (max-width: 1199px) {
    gap: 2rem;
  }
}

.position-card {
  border-radius: 24px;
  background-color: var(--bg-secondary);
  padding: 5.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.position-card:hover {
  background-color: #eef6fb;
}

.position-card:hover #position-btn {
  opacity: 1;
  transition: 0.2s ease-in-out;
}

.position-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 60%;

  > p {
    width: 100%;
  }
}

#position-btn {
  margin: 0;
  opacity: 0;
}

.position-desc,
.card_desc {
  font-size: clamp(14px, 1vw, 20px);
  line-height: 150%;
}

.position-sub {
  font-size: clamp(20px, 1.3vw, 32px);
  margin: 1.2rem 0;
}

#position-button {
  padding: 1.2rem;
}

.apply-wrapper {
  padding: 6.5rem 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .header {
    padding: 20px 0;
  }
  .hero-bg-image {
    object-position: center center;
  }
  .features-btn {
    margin-top: 2rem;
    transition: 0.3s ease-in-out;
  }
  .feature-cards.main,
  .feature-img-wrap.main {
    height: auto;
    margin: 10% 0;
  }
  .title_logo {
    width: 180px;
  }
  .feature-card {
    display: flex;
    flex-direction: column;
  }
  .card-body {
    flex-direction: row-reverse;
    display: flex;
  }
  .card-img img {
    width: 120px;
  }
  .card-desc {
    margin-top: 8%;
  }
  .card-desc .card-title {
    width: 100%;
  }
  .partners {
    height: auto;
    padding: 5.2rem 0;
  }

  .partners-companies img {
    width: 25%;
  }

  .container {
    padding: 0 20px;
  }
  .footer > .container {
    padding: 0;
  }
  .footer-logo-icon {
    width: 80px;
  }

  .footer {
    /* padding: 35px 0 40px; */
    padding: 3.6rem 2.4rem;
  }

  .footer-left {
    order: 2; /* 위로 올라옴 */
    .footer-info {
      margin: 0;
      p {
        text-align: left;
      }
    }
  }

  .footer-right {
    padding-top: 20px;
    order: 3; /* 밑으로 내려감 */
    .social-icons {
      gap: 10px;
      .social-icon {
        width: 40px;
        height: 40px;
        i {
          /* font-size: 40px; */
        }
      }
    }
  }
  .footer-logo {
    order: 1;
  }

  .footer-logo h2 {
    /*font-size: 40px;*/
    /*margin-bottom: 5px;*/
    /* 25 1 */

    width: 133px; /* 이미지 크기 */
    height: 24px;
    background: url("img/footer_logo.png") no-repeat center;
    background-size: contain; /* 배경 꽉 채우기 */
    text-indent: -9999px; /* 텍스트 숨기기 (접근성 유지) */
    overflow: hidden;
  }

  .footer-content {
    gap: 0;
    flex-direction: column;
    text-align: center;
  }

  .hero {
    /* min-height: 50rem; */
  }

  .cta {
    height: 100%;
    padding: 3.6rem 2.4rem;
    display: inline-block; /* 디자인나오기 전 모바일에서 보기 편하도록 수정 25.11.04 */
    width: 100%;
  }
  .cta-section.cta-contact {
    margin-bottom: 2.4rem;
  }
  .effect-cards {
    display: inline; /* 모바일 진행 중 25.11.06 */
    gap: 2rem;
  }

  .cta-section {
    padding: 3rem;
    border-radius: 24px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  /* .nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  } */

  .nav a {
    font-size: 1.5rem;
    padding: 15px 0;
  }

  .nav .menu {
    display: none; /* 일반 메뉴 숨김 */
  }

  .hero-title {
    margin-bottom: 2.8rem;
  }

  .hero-content {
    left: 24px;
    transform: translateY(-45%);
    max-width: 90%;
  }

  .line_break {
    /* 모바일에서 줄바꿈 25.11.03 */
    display: block;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-description2 {
    font-size: 1.1rem;
  }
  .home_logo {
    color: var(--primary);
  }

  .apply-wrapper {
    padding: 5.5rem 2.4rem 3.2rem 2.4rem;
  }

  .features,
  .effect,
  .webuilder-features,
  .career,
  .position-features {
    padding: 3.2rem 2.4rem;
    gap: 0;
    min-height: 0;
    justify-content: flex-start;
  }

  .features-title,
  .effect-title {
    margin-bottom: 1.6rem;
  }

  .feature-cards,
  .effect-cards,
  .webuilder-cards,
  .position-cards {
    display: flex;
    flex-wrap: wrap;
  }

  .feature-cards,
  .feature-problem-cards,
  .features-intro,
  .feature-img-wrap,
  .effect-cards,
  .webuilder-cards,
  .position-cards {
    width: 100%;
  }

  .problem-img-wrap {
    margin: 1.2rem 0;
  }

  .feature-card,
  .effect-card,
  .webuilder-card {
    padding: 2rem 2.4rem;
    width: 100%;
  }

  .features-description {
    margin: 0 0 2.8rem 0;
  }

  .effect-card {
    height: 16rem;
  }

  .webuilder-card-header {
    margin-bottom: 1.6rem;
  }

  .webuilder-desc br {
    display: none;
  }

  .career-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2.8rem;
  }

  .career-card {
    background-color: var(--bg-secondary);
    border: none;
    padding: 2rem 0;
    > img {
      margin-top: 1.6rem;
    }
  }

  #career-a {
    order: 3;
  }
  #career-b {
    order: 1;
  }
  #career-c {
    order: 2;
  }

  .position-intro {
    margin-bottom: 2.8rem;
  }

  .position-card {
    background-color: #eef6fb;
    width: 100%;
    @media screen and (max-width: 1199px) {
      padding: 2rem;
    }
  }

  #position-btn {
    margin: 0;
    opacity: 1;
  }

  .features-btn,
  .cta-btn {
    padding: 0.75rem 1.4rem;

    > img {
      margin-left: 0.2rem;
      width: 1.6rem;
    }
  }
}
