html, body {
  height: 100%;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background-color: white;
  color: #000;
}

img {
  display: block;
  max-width: 100%;
}

.nav-logo {
  position: absolute;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 25px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 40px;
  background: white;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  box-sizing: border-box;
  gap: 0; 
}

.navigation-menu {
  display: flex;
  align-items: center;
  gap: 27px;
}

.navigation-menu a {
  font-size: 14px;
  font-weight: bold;
  color: black;
  margin: 0;
  cursor: pointer;
  text-decoration: none; 
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1290px;
  width: 100%;
  padding: 1.25rem;
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  color: #0b5cff;
}

.service-title{
    text-align: center;
    padding: 80px 20px;
}

.service-title h1 {
    font-size: 55px;
    margin-bottom: 16px;
}

.service-title P {
    font-size: 19px;
    color: #666;
}

.service-list{
    max-width: 1100px;
    margin:0 auto;
    padding: 0 20px 100px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  margin-bottom: 30px;
  border: 1px solid #eee;
  border-radius: 16px;
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card-link:hover .service-card {
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.service-card-link:nth-of-type(1):hover .service-card {
  border-color: #1f3c88;
}

.service-card-link:nth-of-type(2):hover .service-card {
  border-color: #2ccfcf; 
}

.icon {
  width: 180px;
  height: 130px;
  min-width:140px;
  border-radius: 16px;
  display: flex;
  align-items: center;  
  justify-content: center;
  font-size: 28px;
}

.icon img {
  max-width: 70%;   
  max-height: 70%;   
  object-fit: contain; 
}

.icon-star {
  background-color: #e8efff;
  color: #0b5cff;
}

.icon-cloud {
  background-color: #e8f8f8;
  color: #00a5a5;
}

.service-content h2 {
  font-size: 25px;
  margin-bottom: 6px;
}

.service-content h3 {
  font-size: 17px;
  margin-bottom: 16px;
}

.service-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.detail-link {
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration: none;
}

.blue .detail-link {
  color: #1f3c88;
}

.mint .detail-link {
  color: #2ccfcf;
}

.contact-cta {
  text-align: center;
  padding: 80px 20px;
  background-color: #f9fafc;
}

.contact-cta h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-cta p {
  color: #666;
}

.hamburger{
  display: none;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: absolute;
  right: 40px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -330px;
  width: 200px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 25px;
  transition: 0.3s ease;
  z-index: 9999;
}
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: black;
}

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

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 1rem 1rem 1rem;
}

.mobile-menu-close {
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 35px;
  background-color: #0b5cff; 
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 20px rgba(22, 56, 119, 0.3); 
}

@media (max-width: 768px) {

  .navigation {
    padding: 15px 20px;
    height: auto;
    justify-content: space-between; 
  }

  .nav-logo {
    position: static;
  }

  .nav-logo img {
    height: 20px; 
  }

  .navigation-menu {
    display: none;
  }
  
  html, body {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
  }

  .service-title{
    padding: 40px 10px;
  }

  .service-title p {
    max-width: 320px;
    margin: 0 auto;
  }

  .service-content {
    font-size: 14px;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.4;
  }

  .service-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .icon img {
    max-width: 80%;
    max-height: 80%;
  }

  .service-content {
    flex: 1; /* 글자가 오른쪽 공간 넓게 차지 */
  }

  .service-content h2 {
    font-size: 18px;
  }

  .service-content h3 {
    font-size: 14px;
  }

  .service-content p {
    font-size: 14px;
    line-height: 1.4;
  }

  .service-list {
    padding-bottom: 30px;
  }
  .contact-cta {
    padding: 30px 20px;
  }
  .contact-cta h2 {
    font-size: 20px;
  }

  .service-title h1 {
    font-size: 40px;
  }
}