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

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #01164d inset; /* 원하는 배경색으로 덮기 */
  -webkit-text-fill-color: #fff; /* 글자색 */
  transition: background-color 5000s ease-in-out 0s; /* 크롬 트릭 */
}

.contactus-container {
  max-width: 100%;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px 0;
  transition: background 0.3s ease;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-row {
  display: flex;
  gap: 1.6rem;
}

.form-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* 라벨 색상 */
  margin-bottom: 16px;
}

.required {
  /* color: #38b6ff; */
  color: #737373;
  margin-left: 4px;
  font-weight: 600;
}

.contact_form {
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #999;
  border-radius: 8px;
  background: transparent;
  color: #fff; /* 입력 글자 색 */
  font-size: 15px;
}

.contact_form::placeholder {
  color: #999; /* placeholder 색상 */
}

.form-group.half {
  flex: 1;
  margin-bottom: 0;
}

.form-group label {
  font-weight: bold;
  color: #fff; /* 라벨 색상 */
}

.contact_form {
  padding: 12px;
  border: 1px solid #999;
  border-radius: 8px;
  background: transparent;
  color: #fff; /* 입력 글자 색 */
  font-size: 15px;
}

.contact_form::placeholder {
  color: #999; /* placeholder 색상 */
}

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

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

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

.nav a {
  color: var(--text-on-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  margin: 0 100px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.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: 70%; /* 수직 배치 */
  transform: translateY(-42%);
  bottom: 10px;
}

.hero-title {
  font-family: Helvetica;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.scroll-top-btn {
  position: absolute;
  right: 20px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a5298;
  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);
}

/* 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;
}

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

.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 {
  background: white;
  color: #2a5298;
  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;
}

/* Responsive Design */

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .features-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .nav ul {
    gap: 15px;
  }

  .nav a {
    font-size: 14px;
  }
}

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

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

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

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

/* 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: 100%;

  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);
}

/*body {*/
/*    font-family: "Noto Sans KR", sans-serif;*/
/*    background: #fff;*/
/*    margin: 0;*/
/*    padding: 40px;*/
/*}*/
.contact-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.contact-text {
  flex: 1;
}
.contact-text h3 {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 20px;
}
.contact-text p {
  font-size: 22px;
  font-weight: 700;
  color: #1f78c5;
  line-height: 1.5;
}
.contact-form {
  flex: 2;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #565d65;
  border-radius: 8px;
  font-size: 14px;
}
textarea {
  min-height: 200px;
  resize: none;
}

.contact_form {
  color: #fff;
  background-color: #01164d;
}

/* Main Content */
.main-content {
  background: #ffffff;
  padding-top: 7rem;
}

.content-wrapper {
  display: flex;
  justify-content: flex-start;
  padding: 8rem 10rem;
  gap: 8.5rem;
}

.contact-info {
  margin: 5rem 0;
  padding-right: 5.6rem;
  width: 50%;
  word-break: keep-all;
}

/* Left Column - Information */
.contact-subtitle {
  color: var(--primary);
  font-weight: bold;
  font-size: clamp(14px, 1.04vw, 20px);
  line-height: 150%;
}

.contact-title {
  font-weight: bold;
  line-height: 140%;
  font-size: clamp(32px, 3.33vw, 64px);
  margin-top: 0.8rem;
  color: var(--text-primary);
}
.contact-description {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 150%;
  letter-spacing: -0.28px;
  word-break: keep-all;
  color: var(--text-primary);
  margin-top: 3.2rem;
}

/* Right Column - Contact Form */
.contact-form {
  padding: 50px 0px;
  width: 50%;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.field-label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #737373;
  font-size: 15px;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
}

.field-label-content {
  position: absolute;
  top: 9%;
  left: 20px;
  transform: translateY(-50%);
  color: #737373;
  font-size: 15px;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  padding-left: 80px;
  border: none;
  border-radius: 12px;
  /* background: #70737c; */
  background-color: rgba(112, 115, 124, 0.15);
  /* background-color: rgba(0, 0, 0, 0.25); */
  color: #737373;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffffff; /* focus 시 흰색 테두리 */
  background: inherit; /* 배경색 유지 */
  box-shadow: 0 0 10px rgba(58, 160, 255, 0.7), 0 0 20px rgba(58, 160, 255, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #565d65;
  font-weight: 400;
  font-size: 15px;
}

.form-group textarea {
  resize: vertical;
  min-height: 300px;
  line-height: 1.5;
}

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

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

.submit-btn:hover {
  background-color: var(--primary);
  color: white;
}

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

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

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4rem 0;
}

.form-footer-contact {
  font-size: clamp(11px, 1.04vw, 24px);
  color: var(--text-secondary);

  > b {
    margin-right: clamp(8px, 10px, 12px);
  }
}

.investment-footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 156, 255, 0.2) 100%
  );
  text-align: center;
  padding: 12rem;
}

@media (max-width: 1500px) {
  .hamburger {
    margin-left: auto; /* 햄버거 버튼을 오른쪽 끝으로 밀어냄 */
    display: revert;
    right: 10px;
  }
  .nav ul {
    display: none;
  }
}
@media (max-width: 1199px) {
  .header {
    padding: 20px 0;
  }
  .footer {
    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: 12px; */
        }
      }
    }
  }
  .footer-logo-icon {
    width: 80px;
  }
  .footer-logo {
    order: 1;
  }

  .footer-logo h2 {
    font-size: 40px;
    margin-bottom: 5px;
  }

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

  .main-content {
    margin: 0;
  }
  .offcanvas-header {
    background-color: white;
  }

  .offcanvas-body .nav-link.active {
    color: #38b6ff !important;
    font-weight: 600;
  }

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

  .hamburger {
    /* margin-left: auto; 
    display: revert; */
  }

  .container {
    padding: 0 20px; /* 좌우 여백 줄이기 */
  }

  .content-wrapper {
    flex-direction: column; /* 좌우 2컬럼 → 세로 1컬럼 */
    padding: 0 2rem;
    gap: 0;
  }

  /* Contact Info */
  .contact-info {
    width: 100%;
    padding: 3.5rem 0;
    margin: 0;
  }
  .contact-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .contact-info p {
    line-height: 1.4;
  }

  /* Contact Form */
  .contact-form {
    width: 100%;
    padding: 0; /* 안쪽 여백 제거 */
  }

  .contact-form form {
    gap: 1.2rem;
  }

  .form-group.half.name,
  .form-group.half.email {
    flex: 1 1 50%;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }

  .field-label-content {
    top: 13%;
  }

  .form-group textarea {
    min-height: 200px;
  }

  .submit-btn {
    justify-content: center;
    font-size: 15px;
    padding: 0.95rem 2rem;
  }

  .contact-description {
    margin-top: 1.6rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.2rem;
  }

  .investment-footer {
    padding: 5.2rem 8.6rem;
  }
}
