html,
body {
  font-family: "Noto Sans KR", sans-serif;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  height: 100%;
  overflow-y: auto;
}

.section {
  padding: 100px 0;
  scroll-snap-align: start;
  min-height: 100vh;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: transparent;
  transition: background-color 0.3s;
  padding: 1rem;
}
.navbar .nav-link {
  color: #fff !important;
  font-weight: bold;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-scrolled .nav-link {
  color: #000 !important;
  font-weight: bold;
}
.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-scrolled {
  background-color: rgba(0, 0, 0, 0.03);
}
.navbar-nav .nav-link:hover {
  color: #ccc;
}
.navbar-nav .nav-item {
  margin-right: 1rem;
}

.navbar-scrolled .nav-link {
  color: #000 !important;
}

/* mobile css */
@media (max-width: 575.98px) {
  .navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
  .navbar-scrolled {
    background-color: transparent !important;
  }

  .navbar.navbar-scrolled.navbar-open {
    background-color: #eee !important;
  }

  .navbar-scrolled .nav-link {
    color: #000 !important;
  }

  .navbar-collapse .nav-link {
    color: #000;
  }
}

@media (min-width: 576px) {
  .navbar-nav .nav-item {
    margin-right: 1.5rem;
  }
}
@media (min-width: 768px) {
  .navbar-nav .nav-item {
    margin-right: 2rem;
  }
}
@media (min-width: 1200px) {
  .navbar-nav .nav-item {
    margin-right: 2.5rem;
  }
}
.navbar-nav .nav-item:last-child {
  margin-right: 0;
}
.container {
  max-width: 1200px;
  margin: 3rem auto 0;
  width: 100%;
  padding: 0 15px;
}
@media (max-width: 768px) {
  .container {
    padding-bottom: 5rem;
  }
}

/* Home css */
.section-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("../images/home.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}
.home-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.btn-custom {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  border: 2px solid #fff;
}
.btn-custom:hover {
  background-color: #555;
  color: #fff;
}
@media (max-width: 768px) {
  .home-title {
    font-size: 1.8rem;
  }
  .btn-custom {
    font-size: 0.8rem;
  }
}

/* About css */
.section-about {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}
.section-about .container {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.about-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-subtitle {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.about-subtitle .line {
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 1.5em; /* 글자 높이 기준 */
  background-color: #2d8af9;
  margin-right: 0.5rem;
}
.about-text {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 25px;
}
.about-text .highlight {
  color: #2d8af9;
  font-weight: bold;
}
.about-text br {
  content: "";
  display: block;
  margin-bottom: 5px;
}
.about-img {
  width: 100%;
  max-width: 600px;
  margin: 1rem 0;
}
@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }
  .about-title::before {
    font-size: 3rem;
    top: -60%;
  }
  .about-text {
    font-size: 1.2rem;
  }
  .about-text .mobile-hidden {
    display: none;
  }
}

/* Services css */
.section-services {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}
.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.service-text {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 40px;
}
.service-text .desktop-hidden {
  display: none;
}
.service-item {
  flex: 1;
  margin: 0 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.service-item i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #2d8af9;
}
.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: #666;
}
.service-item p {
  font-size: 1rem;
  color: #666;
}
.partners {
  padding: 20px 50px 0 50px;
}
.partners img {
  padding: 10px 40px;
  height: 100px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .service-title {
    font-size: 1.8rem;
  }
  .service-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
  }
  .service-text .desktop-hidden {
    display: block;
  }
  .service-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2d8af9;
  }
  .service-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .service-item p {
    font-size: 0.8rem;
  }
  .partners {
    padding: 0 2rem;
  }
  .partners img {
    padding: 0.5rem 1rem;
  }
}

/* Careers css */
.section-careers {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.career-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}
.career-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.career-subtitle .line {
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 1.5em; /* 글자 높이 기준 */
  background-color: #2d8af9;
  margin-right: 0.5rem;
}

.career-items {
  margin-bottom: 40px;
}
.career-items p {
  font-size: 1rem;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .career-title {
    font-size: 1.8rem;
  }
  .career-subtitle {
    font-size: 1.2rem;
  }
  .career-items p {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
}

/* Contact css */
.section-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  margin-bottom: 20px;
}
.contact-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.form-control::placeholder {
  color: #ccc;
}
.btn-custom {
  background-color: #2d8af9;
  color: #fff;
  font-weight: bold;
}
.btn-custom:hover {
  background-color: #1a73e8;
  color: #fff;
}
.text-dark-link {
  color: #000;
  text-decoration: underline;
}
.text-dark-link:hover {
  color: #000;
  text-decoration: none;
}
@media (max-width: 768px) {
  .section-contact .container {
    margin-top: 0;
    padding-bottom: 0;
  }
  .section-contact {
    min-height: 50vh;
    padding-bottom: 5rem;
    margin-bottom: 0;
  }
  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  ::placeholder {
    font-size: 0.8rem;
  }
  input.form-control,
  textarea.form-control {
    font-size: 0.8rem;
  }
  input.form-control {
    height: calc(1.5em + 1rem + 2px);
  }
  textarea.form-control {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  .form-check-label {
    font-size: 0.8rem;
  }
  form#contactForm .btn-custom {
    font-size: 0.8rem;
  }
  form#contactForm #message {
    height: 100px;
  }
}

/* Footer css */
.footer {
  background-color: #000;
  color: #fff;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  scroll-snap-align: start;
}
.footer::after {
  content: "";
  display: block;
  min-height: 100px;
}
.footer-container {
  max-width: 1200px;
  margin: 2rem auto 2rem;
  width: 100%;
}
.footer-logo {
  max-height: 1.5rem;
  height: auto;
  width: auto;
}

.footer-title {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}
.footer-text {
  font-size: 0.8rem;
}
.footer-copyright {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .footer-container {
    margin: 1rem auto 1rem;
  }
  .footer-title {
    font-size: 1rem;
  }
  .footer-text {
    font-size: 0.8rem;
  }
  .footer-copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  #privacyModal .modal-body {
    font-size: 0.7rem; /* 원하는 폰트 크기로 변경 */
  }
  #privacyModal .modal-title {
    font-size: 0.8rem; /* 제목의 폰트 크기 변경 */
  }
  #privacyModal .modal-body p {
    margin-bottom: 0.2rem; /* p 태그의 줄 간격 조정 */
  }
}
