:root {
  --primary-color: #2563eb;
  /* 신뢰감을 주는 블루 */
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --text-main: #1e40af;
  --text-sub: #475569;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --border-radius-lg: 24px;
  --border-radius-md: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1280px;
  --gutter: 2rem;
}

body {
  color: #222;
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

/* 유틸리티 클래스 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-padding {
  padding: 6rem 0;
}

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

.hidden {
  display: none;
}

/* 애니메이션 클래스 (JS 트리거) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* * ==========================================================================
         * 1. HEADER & NAVIGATION
         * ==========================================================================
         */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

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

.logo {
  max-width: 250px;
  display: flex;
  align-items: center;
}

.logo i {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-sub);
  transition: var(--transition);
  position: relative;
  font-size: 18px;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  background: none;
}

/* * ==========================================================================
         * 2. HERO SECTION
         * ==========================================================================
         */
.hero {
  height: 100vh;
  padding-top: 140px;
  padding-bottom: 4rem;
  background: url(../img/main.jpg) center;
  background-size: cover;
  overflow: hidden;
}

.hero-wrapper {
  height: 100%;
}
.hero-content {
  width: 100%;
  height: 100%;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 65px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  word-break: keep-all;
}

.hero-content h1 span {
  color: #92b5ff;
  position: relative;
  display: inline-block;
}

.hero-content p {
  font-size: 1.125rem;
  color: #fff;
  opacity: 0.6;
  margin-bottom: 2.5rem;
  max-width: 100%;
  line-height: 1.7;
}

.hero-image-box {
  position: relative;
  height: 600px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #ddd;
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.hero-image-box:hover img {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  max-width: 250px;
}

.hero-badge p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.hero-badge span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 5px;
}

/* * ==========================================================================
         * 3. ABOUT & STATS SECTION
         * ==========================================================================
         */
.about {
  background: url(../img/about_bg.jpg) right center no-repeat;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-item p {
  color: var(--text-sub);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Logos Section */
.partners {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.logo-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.6;
}

.partner-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* * ==========================================================================
         * 4. SERVICES / CATALOG SECTION
         * ==========================================================================
         */
.services {
  background-color: var(--bg-light);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
}

.service-nav-btns {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 300px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}

.service-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: var(--text-sub);
  font-size: 1rem;
}

.card-arrow {
  margin-top: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  align-self: flex-end;
}

.service-card:hover .card-arrow {
  background: var(--primary-color);
  color: white;
}

/* * ==========================================================================
         * 5. PROCESS SECTION
         * ==========================================================================
         */
.process {
  background-color: var(--bg-white);
}

.process-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.process-image-wrapper {
  position: relative;
}

.process-image {
  border-radius: var(--border-radius-lg);
  height: 700px;
  overflow: hidden;
}

.process-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.process-badge {
  position: absolute;
  top: 10%;
  right: -30px;
  width: 160px;
  height: 160px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.process-list {
  margin-top: 3rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-icon {
  background: var(--primary-color);
  color: white;
}

/* Connecting Line */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 20px);
  background: #e2e8f0;
  z-index: 0;
}

.step-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* * ==========================================================================
         * 6. CONTACT & FOOTER SECTION
         * ==========================================================================
         */
.contact-section {
  background:
    url(../img/contact_bg.jpg) top left no-repeat,
    #11172a;
  color: white;
  padding: 13rem 0 5rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-text {
  color: #94a3b8;
  margin-bottom: 3rem;
  line-height: 1.8;
  font-size: 1.1em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.02);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: white;
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.9rem;
}

/* * ==========================================================================
         * 7. RESPONSIVE MEDIA QUERIES
         * ==========================================================================
         */
@media (max-width: 1024px) {
  :root {
    --container-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-wrapper {
    gap: 2rem;
  }

  .logo {
    max-width: 220px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* General */
  .section-padding {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.3rem;
  }

  /* Header */
  .nav-menu,
  .btn-cta {
    display: none;
  }

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

  /* Hero */
  .hero {
    padding-top: 100px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-image-box {
    height: 400px;
    order: -1;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 0 auto 2rem auto;
  }

  /* About */
  .about {
    padding-bottom: 100vw;
    background-size: 122%;
    background-position-y: 123%;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .stats-grid {
    gap: 2rem;
    margin-top: 2rem;
  }

  /* Services */
  .service-grid {
    grid-template-columns: 1fr;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Process */
  .process-container {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }

  .process-image {
    height: 400px;
    margin-bottom: 2rem;
  }

  .process-badge {
    width: 120px;
    height: 120px;
    right: -10px;
    font-size: 0.8rem;
  }

  /* Contact */
  .contact {
    background-size: 200%;
    background-position: top left;
    padding-top: 70vw;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 2000;
  padding: 2rem;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
