body {
    font-family: 'Pretendard', sans-serif; 
    color: #333;
  }

  /* ont stop */
  .service-container {
        max-width: 900px;
        margin: 40px auto;
        text-align: center;
        background-color: #ffffff;
        font-family: 'Pretendard', -apple-system, sans-serif;
    }

    /* 상단 타이틀 영역 */
    .service-header h2 {
        font-size: 28px;
        color: #222;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
    }
    .service-header h2 span {
        color: #3E49A7; /* 이음통신 브랜드 블루 */
        font-weight: 800;
    }
    .service-header p {
        font-size: 16px;
        color: #888;
        margin-bottom: 40px;
    }

    /* 아이콘 카드 그리드 */
    .icon-wrapper {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    /* 개별 카드 디자인 */
    .icon-card {
        border: 1px solid #eef0f3;
        border-radius: 16px;
        padding: 25px 10px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 아이콘 스타일 */
    .icon-circle {
        font-size: 32px;
        color: #444;
        margin-bottom: 15px;
        transition: transform 0.3s ease;
    }

    /* 텍스트 스타일 */
    .icon-card span {
        font-size: 15px;
        font-weight: 600;
        color: #555;
    }

    /* 마우스 호버 효과 (전문적인 포인트) */
    .icon-card:hover {
        background-color: #fff;
        border-color: #3E49A7;
        box-shadow: 0 10px 20px rgba(62, 73, 167, 0.08);
        transform: translateY(-5px);
    }
    .icon-card:hover .icon-circle {
        color: #3E49A7;
        transform: scale(1.1);
    }
    .icon-card:hover span {
        color: #3E49A7;
    }

    /* 모바일 반응형 */
    @media (max-width: 760px) {
        .icon-wrapper {
            grid-template-columns: repeat(3, 1fr);
        }
       
    }
/* 인포 */
.info-section {
        max-width: 900px;
        margin: 0 auto;
        padding: 25px 0px;
        font-family: 'Pretendard', -apple-system, sans-serif;
    }

    .info-container {
        text-align: left; /* 신뢰감을 주는 좌측 정렬 */
    }

    /* 섹션 제목 */
    .info-title {
        font-size: 26px;
        color: #3E49A7; /* 메인 브랜드 컬러 */
        font-weight: 700;
        margin-bottom: 24px;
        position: relative;
        padding-bottom: 15px;
    }

    /* 제목 하단 짧은 강조선 */
    .info-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #3E49A7;
    }

    /* 본문 텍스트 스타일 */
    .info-content p {
        font-size: 17px;
        line-height: 1.8;
        color: #555;
        margin-bottom: 40px;
        word-break: keep-all; /* 한글 단어 끊김 방지 */
    }

    .info-content strong {
        color: #222;
        font-weight: 700;
    }

    .info-content span {
        color: #3E49A7;
        font-weight: 600;
    }

    /* 하단 타겟 카드 그리드 */
    .target-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .target-card {
        background-color: #F8F9FC; /* 아주 연한 청색 계열 배경 */
        padding: 25px 20px;
        border-radius: 12px;
        border: 1px solid #E9ECF3;
        transition: all 0.3s ease;
    }

    .target-card:hover {
        background-color: #fff;
        box-shadow: 0 10px 20px rgba(62, 73, 167, 0.05);
        border-color: #3E49A7;
    }

    /* 숫자 배지 스타일 */
    .target-num {
        display: inline-block;
        font-size: 13px;
        font-weight: 800;
        color: #3E49A7;
        background-color: rgba(62, 73, 167, 0.1);
        padding: 4px 10px;
        border-radius: 6px;
        margin-bottom: 15px;
    }

    .target-card p {
        font-size: 15px;
        font-weight: 600;
        color: #444;
        margin: 0;
        letter-spacing: -0.5px;
    }

    /* 모바일 대응 */
    @media (max-width: 768px) {
        .target-grid {
            grid-template-columns: 1fr; /* 모바일에선 세로로 나열 */
        }
    }

/* 폼 */
/* 폼 섹션 전체 컨테이너 */
    .form-section {
        max-width: 900px; /* 상단 콘텐츠들과 동일한 width 값 */
        margin: 40px auto 80px;
        padding: 0px;
        font-family: 'Pretendard', sans-serif;
    }

    /* 폼 박스 디자인 */
    .contact-box {
        background: #ffffff;
        border: 1px solid #E9ECF3;
        border-radius: 24px;
        padding: 60px 80px; /* 넉넉한 여백으로 고급스러움 강조 */
        box-shadow: 0 20px 40px rgba(62, 73, 167, 0.04);
    }

    /* 헤더 영역 */
    .form-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .form-header h3 {
        font-size: 24px;
        color: #222;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .form-header .sub {
        font-size: 15px;
        color: #888;
    }

    /* 입력 필드 스타일 */
    .input-field {
        margin-bottom: 15px;
    }
    .contact-box input, 
    .contact-box textarea {
        width: 100%;
        padding: 18px 20px;
        border: 1px solid #e1e4e8;
        border-radius: 12px;
        background-color: #F9FAFB;
        font-size: 16px;
        font-family: inherit;
        color: #333;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }

    /* 포커스 되었을 때 (상단 블루 컬러와 통일) */
    .contact-box input:focus, 
    .contact-box textarea:focus {
        outline: none;
        border-color: #3E49A7;
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(62, 73, 167, 0.1);
    }

    /* 텍스트 영역 고정 */
    .contact-box textarea {
        resize: none;
    }

    /* 전송 버튼 (세련된 오렌지 그라데이션) */
    .submit-btn {
        width: 100%;
        padding: 20px;
        background: linear-gradient(135deg, #FF7E22, #FF6000);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    .submit-btn:hover {
        background: linear-gradient(135deg, #FF6000, #E65600);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 96, 0, 0.25);
    }

    /* 하단 안내 문구 */
    .privacy {
        text-align: center;
        font-size: 13px;
        color: #aaa;
        margin-top: 20px;
    }

    /* 모바일 반응형 여백 조절 */
    @media (max-width: 768px) {
        .contact-box {
            padding: 40px 20px;
        }
    }
/* 폼 */

.contact-box textarea {
  width: 100%;
  height: 250px;          /* ⭐ 빈 공간 채우기용 */
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  resize: none;           /* 드래그 막기 */
  margin-bottom: 16px;
  font-family: inherit;
}

.contact-box textarea:focus {
  border-color: #1e6fff;
  outline: none;
}
    .partner-section {
  padding: 25px 0px;
}

.partner-wrap {
  align-items: stretch;
  min-height: 500px!important;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
}

/* LEFT */
.partner-left {
  flex: 6;
  padding:0px 32px;
  border-radius: 20px;
}

/* 기본 (PC) */

.image-box {
  
  width: 100%;
  height: 280px;
  background: url('https://youthnet.co.kr/bbs/img/partnerImage.png') no-repeat center;
  background-size: contain;
  border-radius: 16px;
  margin-bottom: 24px;
}

/* 태블릿 (문제 구간) */
@media (max-width: 900px) and (min-width: 769px) {
  .image-box {
    height: 200px;          
    background-size: contain;
  }
  .partner-left {
    min-height: 570px;
  }
}

/* 768px 이하 (모바일) */
@media (max-width: 768px) {
  .image-box {
    height: 200px;
    background-size: cover;
    border-radius: 12px;
  }
  .partner-left {
    min-height: 570px;
  }
}

.partner-left h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.partner-left h2 strong {
  color: #1e6fff;
}

.partner-left .desc {
  color: #555;
  margin-bottom: 24px;
}

.number-list {
   counter-reset: list-counter;
}
.number-list li {
   position: relative;
  padding-left: 37px;           /* 숫자 박스 공간 확보 */
  margin-bottom: 14px;

  font-size: 15px;
  line-height: 1.7;             /* ✅ 줄 간격 */
  color: #333;

  counter-increment: list-counter; /* ✅ li에서 증가 */
}
.wrapper768 {
  max-width:768px;
  margin:0 auto;
}
.number-list li::before {
  content: counter(list-counter);

  position: absolute;
  left: 0;
  top: 50%;                     /* ✅ 세로 중앙 정렬 */
  transform: translateY(-50%);

  width: 28px;
  height: 28px;

  background: #3b5cff;          /* primary */
  color: #fff;

  font-size: 13px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
}

/* RIGHT */
.partner-right {
  flex: 4;
}

.contact-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-box h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.partner-left h2{
  font-weight: bold;
  font-size:20px;
}
.partner-right h3{
  font-weight: bold;
  font-size:20px;
}
.contact-box .sub {
  color: #777;
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-box input {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 16px;
  margin-bottom: 14px;
  font-size: 15px;
}

.contact-box input:focus {
  border-color: #1e6fff;
  outline: none;
}

.contact-box button {
  width: 100%;
  height: 56px;
  background: #ff6b00;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.contact-box button:hover {
  opacity: 0.9;
}

.contact-box .privacy {
  font-size: 12px;
  color: #999;
  margin-top: 14px;
  text-align: center;
}

/* MOBILE */
@media (min-width: 769px) {
  .contact-box {
    min-height: 752px;
    display: flex;
    flex-direction: column;
  }

  .contact-box textarea {
    flex: 1;              /* 🔥 남는 공간 자동 채움 */
  }

  .contact-box button {
    margin-top: auto;
  }
}
@media (max-width: 768px) {
  .partner-wrap {
    flex-direction: column;
  }

  .image-box {
    height: 190px;
  }
}
@media (max-width: 768px) {
  .contact-box {
    position: sticky;
    top: 20px;
  }
}
@media (max-width: 768px) {
  .contact-box textarea {
    height: 350px;
    flex: none;
  }
}
.contact-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.contact-box button {
  margin-top: auto;
}


/* 이미지 텍스트 */
.image-box2 {
  position: relative; 
  width: 100%;
  height: 360px;
  border-radius: 16px;
}
/* 텍스트 오버레이 */
.image-text {
  position: absolute;
  left: 32px;
  bottom: 28px;
  max-width: 520px;
  background: rgba(255,255,255,0.75);
  padding: 16px 20px;
  border-radius: 12px;
}

/* 제목 */
.image-text h3 {
  font-size: 24px;        /* 오른쪽 박스와 동일한 체급 */
  line-height: 1.4;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.image-text h3 span {
  color: #3b6df6;         /* 이음통신 포인트 컬러 */
}

/* 설명 텍스트 */
.image-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .image-box2 {
    height: 260px;
    background-size: 92% auto;
  }

  .image-text {
    left: 20px;
    bottom: 20px;
    max-width: 90%;
    background: rgba(255,255,255,0.75);
    padding: 16px 20px;
    border-radius: 12px;
  }

  .image-text h3 {
    font-size: 24px;
  }

  .image-text p {
    font-size: 13px;
  }
  .contact-box{
    padding:10px 20px;
  }
}

.text-primary {
 color:#0d6efd; 
}
.fwb {
  font-weight:bold;
}

.desc {
  line-height:23px;
}