/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 부드러운 스크롤 애니메이션 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  /* 헤더(가로 고정) 높이 + 여유 공간 확보 */
  padding-top: 180px;
}

/* ─────── 헤더 ─────── */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px 0;
}

.logo-img {
  height: 120px;
  object-fit: contain;
}

.side-img {
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-top: 15px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
  margin: 0 15px;
}
.nav-links a:hover {
  color: #b30000;
}

.hamburger {
  display: none;
  font-size: 28px;
  margin-top: 10px;
  cursor: pointer;
}

.close-menu {
  display: none;
}

.close-menu:hover {
  color: red;
}

/* 햄버거 메뉴가 열렸을 때 보여주는 클래스 */
.nav-links.active {
  display: flex;
}

.close-menu.active {
  display: block;
}


/* ─────── 섹션 ─────── */
.section {
  padding: 100px 30px;
  min-height: 110vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  /* 고정 헤더 높이만큼 스크롤 오프셋 줘서 가려지지 않도록 */
  scroll-margin-top: 180px;
}

/* 섹션별 배경 컬러 */
#section2 { background-image: url('img/main_bg.jpg'); }
#section3 { background-image: url('img/main_bg.jpg'); }
#section4 { background-image: url('img/main_bg.jpg'); }
#section5 { background-image: url('img/main_bg.jpg'); }



.story-section {
  padding: 30px 10px;
  min-height: 110vh; 
  background-image: url('img/main_bg.jpg');
  background-color: #fafafa;
  scroll-margin-top: -30px;
}

.story-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  gap: 50px;
  flex-wrap: wrap;
}

.image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-stack img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: absolute;
  transition: all 0.3s ease;
}

.image-top {
  top: 0;
  left: -70px;
  z-index: 1;
}

.image-bottom {
  top: 260px; /* 아래로 내려줌 */
  left: 130px; /* 오른쪽으로 살짝 이동 */
  z-index: 2;
}

.text-wrapper {
  max-width: 600px;
  padding: 0 20px;
  flex: 1;
}

.text-wrapper h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.text-wrapper p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

.text-wrapper b {
  color: #000;
  font-size: 20px;
}





/* (글로벌) 부드러운 스크롤 */
html {
  scroll-behavior: smooth;
}

/* 고정된 버튼 컨테이너 */
.fixed-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

/* 원형 버튼 스타일 */
.btn-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}

/* 호버 효과 */
.btn-circle:hover {
  background-color: #555;
}




/* …기존 CSS… */

/* 세로 문구 박스 */
.vertical-text-box {
  position: fixed;
  top: 250px;       /* 화면 상단에서 100px 아래부터 */
  bottom: 200px;     /* 화면 하단에서 50px 위까지 */
  right: 20px;         /* 오른쪽 끝에 딱 붙게 */
  width: 50px;      /* 너비 조정 */
  background-color: yellow;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 0;
}


/* 세로 텍스트 스타일 */
.vertical-text-box span {
  writing-mode: vertical-rl;    /* 세로쓰기 */
  text-orientation: upright;    /* 글자 똑바로 세로로 */
  font-size: 14px;
  color: #333;
  line-height: 1.2;
  white-space: nowrap;          /* 텍스트가 자동으로 줄바꿈되지 않도록 */
}



/* 메인 내용 스타일 */
.main-content {
  height: 100vh;
  background: url('img/main_bg.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

/* 메인 내용 스타일 */
.main-content {
  height: 100vh;
  background: url('img/main_bg.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.main-title {
  font-size: 3rem; /* 큰 화면에서는 큰 폰트 */
  margin-bottom: 1em;
  white-space: nowrap;  /* 제목은 한 줄로 유지 */
  color: black;
  font-family: 'HakgyoansimAllimjangTTF-B';
  overflow: hidden;  /* 너무 길어지면 자르기 */
  text-overflow: ellipsis; /* 제목이 길어지면 "..."로 표시 */
}

.main-title b {
  color: red;
  font-size: 5rem;
}

.main-title h1 {
  font-family: 'netmarbleB';
}


@font-face {
  font-family: 'netmarbleB';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.1/netmarbleB.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gyeonggi_Title_Medium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Title_Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'HakgyoansimAllimjangTTF-B';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-B.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

.main-subtitle {
  font-size: 1.5rem;
  line-height: 1.6;
  font-family: 'HakgyoansimAllimjangTTF-B';
  color: black;
  word-wrap: break-word; /* 긴 문장도 자동으로 줄바꿈 */
  white-space: normal; /* 텍스트가 overflow되지 않도록 */
  max-width: 80%; /* 서브타이틀 너비 제한 */
}



#contact-form {
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


#inquiryForm .form-group {
  margin-bottom: 20px;
}

#inquiryForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

#inquiryForm input[type="text"],
#inquiryForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

#inquiryForm textarea {
  resize: vertical;
}

.form-agreement {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-agreement input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.form-agreement label a {
  color: #007BFF;
  text-decoration: underline;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #555;
}

/* 팝업 스타일 */
.popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}

.popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}



/* 기본 상태: 안보임 */
.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s, transform 0.5s;
}

/* 화면에 보이면 페이드인 */
.animate-left.is-visible {
  animation: fadeInLeft 0.8s ease-out forwards;
}

/* 화면에서 나가면 페이드아웃 */
.animate-left.not-visible {
  animation: fadeOutLeft 0.8s ease-out forwards;
}



.section-2 {
  padding: 30px 20px;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1000px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}


.title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 20px;
  color: #555;
  margin-bottom: 10px;
}

.highlight {
  font-size: 24px;
  font-weight: bold;
  color: red;
  margin: 20px 0 10px;
}

.description {
  font-size: 20px;
  margin-bottom: 30px;
}

.detail {
  font-size: 16px;
  color: black;
  border: 1px solid yellow;
  background-color: yellow;
  line-height: 1.8;
  margin-bottom: 40px;
}

.certificates {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* 이미지가 줄 바꿈 가능하도록 추가 */
}

.certificates img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.certificates img:hover {
  transform: scale(1.05);
}


.comparison-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
  font-family: 'Arial', sans-serif;
}

.image-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-img {
  width: 200px;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.arrow {
  font-size: 40px;
  color: black;
}

.text-section {
  font-size: 20px;
  line-height: 1.8;
  max-width: 300px;
  text-align: center;
}



.bottom-image-container {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

.bottom-image-container s {
  color: red;
}

.bottom-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}


.youtube-section {
  display: flex;
  justify-content: center;
  background-image: url('img/main_bg.jpg');
  padding: 30px 0;
}

.youtube-container {
  display: flex;
  align-items: center;
  background-color: red;
  border-radius: 50px;
  padding: 10px 24px;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;

}

.circle-button {
  background-color: white;
  color: red;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 2rem;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.youtube-text {
  margin-left: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .youtube-container {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .youtube-text {
    margin-left: 0;
    margin-top: 10px;
    font-size: 1.2rem;
  }

  .circle-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}







.feature-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.feature-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  margin-bottom: 30px;
}
.feature-item h3 {
  font-size: 18px;
  color: #333;
  line-height: 1.4;
  margin: 0;
}


.detail_img {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
}

.image-box {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}



.inquiry-box {
  display: inline-block;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: #333;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  animation: rainbow 10s infinite linear; /* 레인보우 애니메이션 추가 */
}



.section-5 {
  padding: 40px 20px;
  background-color: #f9f9f9;
  scroll-margin-top: 180px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.accordion {
  max-width: 700px;
  margin: 0 auto;
}

.accordion-item {
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.accordion-content ul {
  padding: 10px 0;
  margin: 0;
}

.accordion-content li {
  list-style: none;
  padding: 4px 0;
  font-size: 0.95rem;
}

/* 열렸을 때 스타일 */
.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 10px 20px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* 반응형 */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
  }

  .accordion-header {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .accordion-icon {
    font-size: 1.2rem;
  }

  .accordion-content li {
    font-size: 0.9rem;
  }
}






a {
  text-decoration: none;
  color: white;
}


















footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  margin-bottom: 20px;
}

.footer-logo {
  width: 50px;  /* 로고 이미지 크기 조정 */
  height: auto;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  margin: 5px 0;
}

.footer-center a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer-center a:hover {
  color: #f39c12;
}





.form-title {
  color: #333; /* 텍스트 색 */
  padding: 50px 20px  ; /* 위 아래 여백 */
  text-align: center; /* 텍스트 중앙 정렬 */
}

.form-title h2 {
  font-size: 30px; /* 기본 폰트 크기 */
  font-weight: bold;
  margin: 0;
}


/* ─────── 알림창 스타일 ─────── */
.alert-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #4CAF50; /* 초록색 */
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: slideDown 0.5s ease;
}


.video-logo-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-image: url('img/video_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.video-grid {
  display: grid;
  gap: 15px;
  width: 100%;
  margin-bottom: 30px;
}

.video-grid video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* 로고 텍스트의 부모 요소 */
.logo-text {
  width: 100%;
  text-align: center; /* 텍스트 가운데 정렬 */
  margin-bottom: 20px; /* 로고와 다른 콘텐츠 사이에 여백 추가 */
  position: relative; /* 자식 요소에 절대 위치를 적용하기 위해 필요 */
}

/* 로고 이미지 */
.logo-text .logo-img {
  width: 200px;  /* 가로 크기 */
  height: auto;  /* 비율에 맞춰 세로 크기 자동 조정 */
  position: absolute; /* 부모 요소에 상대적인 위치로 배치 */
  top: 0; /* 상단으로 붙여서 이미지가 위로 오게 */
  left: 50%; /* 부모의 중앙으로 정렬 */
  transform: translateX(-50%); /* 정확한 중앙 정렬을 위해 이동 */
  margin-bottom: 10px; /* 아래에 약간의 여백 */
}


.logo-text p {
  font-size: 2.3em;
  font-weight: bold;
  margin-top: 150px;
  line-height: 1.6;
  text-align: center;
  white-space: pre-line;
  padding: 0 20px;
}





.video-grid video:nth-child(4) {
  margin-top: -120px; /* 원하는 만큼 조절 (ex. -20px ~ -5px) */
}



.menu-section {
  padding: 40px 20px;
  background-color: #fdfaf2;
  text-align: center;
  background-image: url('img/main_bg.jpg');
}

.main-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.thumbnail-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.thumbnail {
  width: 15%;
  min-width: 130px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .thumbnail {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .thumbnail {
    width: 100%;
  }
}

.menu-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 30px 0 20px;
  color: #333;
}

.side-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 30px 0 20px;
  color: #444;
}






/* 애니메이션 정리 */

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeOutLeft {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(-50px);
    }
  }

@keyframes rainbow {
    0% {
      background: red;
    }
    14% {
      background: orange;
    }
    28% {
      background: yellow;
    }
    42% {
      background: green;
    }
    57% {
      background: blue;
    }
    71% {
      background: indigo;
    }
    85% {
      background: violet;
    }
    100% {
      background: red;
    }
  }

  /* 나타날 때 부드럽게 내려오게 */
@keyframes slideDown {
    from {
      top: -50px;
      opacity: 0;
    }
    to {
      top: 0;
      opacity: 1;
    }
  }



  /* 반응형 */

  @media (min-width: 768px) {
    .video-logo-section {
      flex-wrap: nowrap;
      flex-direction: row;
      justify-content: center;
      align-items: flex-start;
    }
  
    .video-grid {
      width: 50%;
      grid-template-columns: 1fr 1fr;
      margin-bottom: 0;
    }
  
    .logo-text {
      width: 40%;
      margin-left: 40px;
      text-align: left;
    }
  
    .logo-text .logo-img {
      margin: 0 0 20px 0;
    }
  }

  /* 반응형 */


  @media (max-width: 768px) {
    body {
      padding-top: 160px;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 15px;
      background-color: #fff;
      position: absolute;
      top: 140px;
      width: 100%;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      padding: 20px 0;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: block;
    }
    
    .close-menu {
      display: block;
    }
  
    /* 모바일에서도 섹션 오프셋 동일하게 적용 */
    .section {
      scroll-margin-top: 160px;
    }

    .story-content {
      flex-direction: column;
      text-align: center;
    }
    
    .image-wrapper {
      width: 100%;
      height: auto;
    }
  
    .image-stack {
      position: relative;
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .image-stack img {
      position: relative;
      width: 80%;
      margin: 10px 0;
      top: auto;
      left: auto;
    }
  
    .text-wrapper h2 {
      font-size: 28px;
    }
  
    .text-wrapper p {
      font-size: 16px;
    }

    .text-wrapper h2 {
      font-size: 1.6rem;
    }
  
    .text-wrapper p {
      font-size: 1rem;
      line-height: 1.6;
    }

    .fixed-buttons {
      right: 10px;
      bottom: 10px;
    }
    .btn-circle {
      width: 40px;
      height: 40px;
      font-size: 20px;
    }

    .vertical-text-box {
      display: none;  /* 모바일에서 숨기려면 */
    }

    .main-title {
      font-size: 2rem; /* 모바일에서 제목 크기 더 줄이기 */
      color: black;
      white-space: nowrap; /* 모바일에서도 제목은 한 줄로 유지 */
    }
  
    .main-subtitle {
      font-size: 1.2rem; /* 모바일에서 서브타이틀 크기 줄이기 */
      color: black;
      line-height: 1.4; /* 줄 간격 조정 */
      max-width: 90%; /* 서브타이틀의 최대 너비를 줄여서 보기 좋게 */
    }

    .comparison-container {
      flex-direction: column;
      gap: 30px;
    }
  
    .image-section {
      flex-direction: column;
      gap: 10px;
    }
  
    .arrow {
      transform: rotate(90deg); /* ➤ 방향을 아래로 회전 */
    }

    .feature-box {
      gap: 15px;
    }
    .feature-item {
      padding: 15px;
    }
    .feature-item h3 {
      font-size: 16px;
    }

    .detail_img {
      flex-direction: column;
    }
  
    .certificates {
      flex-direction: column;
      align-items: center; /* 이미지가 중앙에 정렬되도록 */
    }
  
    .certificates img {
      width: 100%; /* 모바일에서는 각 이미지를 100% 너비로 */
      margin-bottom: 20px; /* 이미지 사이의 간격 추가 */
    }
  
    .image-box {
      width: 100%;
      margin-bottom: 20px;
    }

    .footer-container {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-left {
      margin-bottom: 15px;
    }
  
    .footer-center p {
      margin: 5px 0;
    }

    .form-title {
      padding: 30px 20px; /* 모바일에서 위 아래 여백을 줄임 */
    }
  
    .form-title h2 {
      font-size: 20px; /* 모바일에서 폰트 크기 줄이기 */
    }
  }