

/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Jost",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

.main-font {
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37517e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #47b2e4; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #47b2e4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f5f6f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
/* 기존 헤더 스타일 */
.header {
  --background-color: #3d4d6a;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.navbar{
    display : flex;
    justify-content: space-between;
    align-items:center;
    padding : 8px 12px;
}

body{
    margin : 0;
}

.header .logo {
  line-height: 1;
  height: 100%;
}

.header .logo img {
  height: 100%;
  min-width: 50px;
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 35px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 16px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}



/* 로그인 시, (로그인, 회원가입) 드롭다운 스타일 */
#login-dropdown {
    position: relative;
    display: inline-block;
    /*padding: 0px 30px;*/
}

#login-button {
    display: flex;
    align-items: center;
    color: var(--contrast-color);
    background: #179ddb;
    padding: 8px 25px;
    border-radius: 50px;
    transition: 0.3s;
    text-decoration: none;
}

#login-button:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

#dropdown-menu, #account-menu {
    display: none;
    position: absolute;
    /*top: 100%;*/
    /*left: 50%;*/
    /*transform: translateX(-35%);*/
    background-color: var(--accent-color);
    color: var(--contrast-color);
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
}

/* 창 크기가 481px ~ 1198px일 때 드롭다운 위치 변경 */
@media screen and (min-width: 481px) and (max-width: 1198px) {
  #dropdown-menu {
    top: 101%;
    left: 17%;
    transform: translateX(-50%);
  }
}

#login-dropdown:hover #dropdown-menu {
    display: block;
}

#dropdown-menu li {
    margin: 5px 0;
}

#dropdown-menu a {
    color: var(--contrast-color);
    text-decoration: none;
    display: block;
    padding: 8px 20px;
}

#dropdown-menu a:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%); /* 호버 시 배경 색상 변화 */
    border-radius: 10px;
}

/* 로그인 완료 후, (마이페이지, 로그아웃) 드롭다운 스타일 */
#account-dropdown {
  position: relative;
  display: inline-block;
}

#account-button {
  display: flex;
  align-items: center;
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 8px 25px;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
}

#account-button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

#account-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 8px;
  background-color: var(--accent-color);
  list-style-type: none;
  padding: 0;
  margin: 0 0 0 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  white-space: nowrap;
}

@media (max-width: 1198px) {
  #account-menu {
    top: 101%;
    left: 24%;
    transform: translateX(-50%);
  }
}

#account-dropdown:hover #account-menu {
  display: block;
}

#account-menu li {
  margin: 0;
  padding: 4px 8px;
}

#account-menu a {
  color: var(--contrast-color);
  text-decoration: none;
  display: block;
  padding: 8px 10px;
}

#account-menu a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 10px;
}



/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(40, 58, 90, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 18px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

/*  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }*/

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  .navmenu .megamenu {
    position: static;
  }

  .navmenu .megamenu ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .megamenu ul li {
    flex: 1;
  }

  .navmenu .megamenu ul li a,
  .navmenu .megamenu ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .megamenu ul li a:hover,
  .navmenu .megamenu ul li .active,
  .navmenu .megamenu ul li .active:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .megamenu:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dd-box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
}

/*
    모바일 반응형 헤더 전환 시,
*/

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 40px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
  }

  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    margin: 0 20px 0 0;
  }

  /* 헤더 사이즈 조정 */
  @media (max-width: 480px) {
    h1.sitename {
      /*visibility: hidden;*/
      display: none;
    }
  }

  /* 창 크기가 480px 이하일 때 */
  @media (max-width: 480px) {
    #login-button {
      justify-content: center;
      min-width: 100px; /* 버튼의 최소 너비 */
      min-height: 40px; /* 버튼의 최소 높이 */
      padding: 8px 25px; /* 기존 패딩 유지 */
      font-size: 15px; /* 글자 크기 유지 */
    }

    @media (max-width: 480px) {
      #dropdown-menu {
        margin: 0 30px 0 0;
      }
    }
  }



  @media (max-width: 1000px) {
    .hero h1, #hero h1 {

      font-size: 75px;
      font-weight: 400;
      line-height: 70px;
      color: #fff;
      margin-bottom: 20px;
      text-align: center;
      font-family: "Audiowide", sans-serif;
      font-style: normal;

    }

    .hero h2 {

      font-weight: 400;
      font-family: "Audiowide", sans-serif;
      font-style: normal;
      color: #373b3e;
      -webkit-text-stroke: 2px white;

      font-size: 50px;
      line-height: 56px;
      margin-bottom: 20px;
      text-align: center;

    }


  }


  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
      display: block; /* 기본적으로 숨김 처리 후 자바스크립트로 제어 가능 */
      position: absolute;
      inset: 0 0 0 auto; /* 오른쪽에 위치 */
      width: 300px; /* 메뉴 너비 설정 */
      transform: translateX(100%); /* 초기 상태 - 화면 오른쪽 밖으로 이동 */
      transition: transform 0.3s ease; /* 슬라이드 전환 효과 */
      padding: 70px;
      margin: 0;
      border-radius: 6px;
      background-color: #14182d;
      overflow-y: auto;
      z-index: 9998;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
      list-style-type: none;
  }

  /* 내부 리스트가 움직이지 않도록 처리 */
  .navmenu ul li {
    position: relative; /* 상대적인 위치로 설정하여 이동하지 않도록 함 */
  }

  /* 모바일 메뉴 활성화 상태 */
    .mobile-nav-active .navmenu ul {
        transform: translateX(0); /* 활성화 상태 - 화면에 나타나도록 이동 */
    }


  .navmenu a,
  .navmenu a:focus {
    color: #ffffff;
    padding: 16px 2px;
    font-family: var(--nav-font);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 15px;
    line-height: 0;
    margin-left: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }


  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu ul {
      transform: translateX(0); /* 활성화 상태 - 화면에 나타나도록 이동 */
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
  
}

/*@media (max-width: 470px) {
  .navmenu ul {
    padding: 20px; !* 메뉴 내부 간격 축소 *!
    width: 250px; !* 메뉴 너비 축소 *!
  }

  .navmenu a {
    font-size: 14px; !* 텍스트 크기 축소 *!
    padding: 10px 5px; !* 링크 간격 조정 *!
  }

  .mobile-nav-toggle {
    font-size: 30px; !* 모바일 메뉴 토글 버튼 크기 조정 *!
  }

  !* 헤더 텍스트가 보이지 않으면 숨기기 대신 간격 조정 *!
  !*h1.sitename {*!
  !*  font-size: 16px; !* 작은 화면에서 헤더 텍스트 크기 축소 *!*!
  !*  visibility: visible;*!
  !*  text-align: center;*!
  !*  margin-bottom: 10px;*!
  !*}*!

  !* Hero Section 텍스트 조정 *!
  .hero h1, #hero h1 {
    font-size: 40px; !* 텍스트 크기 축소 *!
    line-height: 45px; !* 간격 조정 *!
  }

  .hero h2 {
    font-size: 20px; !* 서브 텍스트 크기 축소 *!
    line-height: 25px;
    -webkit-text-stroke: 1px white; !* 텍스트 선 두께 조정 *!
  }
}*/

html, body {
  -webkit-text-size-adjust: none; /* 크롬, 사파리, 오페라 신버전 */
  -ms-text-size-adjust: none;    /* IE */
  -moz-text-size-adjust: none;   /* 파이어폭스 */
  -o-text-size-adjust: none;     /* 오페라 구버전 */
}



/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

.footer-links {
    margin-bottom: 0;
}

.footer-map {
    margin-top: 10px;
}

.divider {
    border: none;        /* 기본 테두리 제거 */
    height: 1px;        /* 구분선 두께 */
    background-color: #ccc; /* 구분선 색상 (원하는 색상으로 변경 가능) */
    margin: 20px 0;     /* 구분선 위아래 여백 */
}



/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}



/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 88px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* #hero 섹션 스타일 */
#hero, .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* 슬라이더 배경에 어두운 투명 효과 */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* 슬라이더 이미지 페이드 효과 */
#slide3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#slide3 ul {
    padding-left: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

#slide3 ul li {
    position: absolute;
    width: 100%;  /* 이미지 가로 크기 */
    height: 100%;  /* 이미지 세로 크기 */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

#slide3 ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease; /* 부드러운 전환 효과 */
}

#slide3 ul li.active {
    opacity: 1;
}


/* #hero 섹션 내부의 텍스트와 버튼 스타일 */
.hero .containers, #hero .containers {
    position: relative;
    text-align: center;
    color: white;
    display: flex;
    align-items: center; /* 수직, 수평 중앙 정렬 */
    height: 100%; /* 텍스트와 버튼을 슬라이더 안에서 가운데 배치 */
    weight: 100%;
}

.hero h1, #hero h1 {
    font-size: 75px;
    font-weight: 400;
    line-height: 70px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
  font-family: "Audiowide", sans-serif;
  font-style: normal;
}


.hero h2 {
  font-weight: 400;
  font-family: "Audiowide", sans-serif;
  font-style: normal;
  /*color: #373b3e;*/
  /*-webkit-text-stroke: 2px white;*/
  color: white;

  font-size: 35px;
  line-height: 20px;
  margin-bottom: 20px;
  text-align: center;


}

.hero p, #hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    line-height: 1.7;
    font-weight: 600;
    margin: 5px 0 9px 0;
    text-align: center;
}

.btn-get-started, .btn-watch-video {
    color: #ffffff;
    background: #3D507A;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 50px;
    transition: background-color 0.5s, opacity 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
}

.btn-get-started:hover {
    color: var(--contrast-color);
    background: rgba(61, 80, 122, 0.85);
}

.btn-watch-video i {
    margin-right: 5px;
}

/* 버튼 간격 및 중앙 정렬 */
.hero .d-flex {
    gap: 15px;
    justify-content: center;
}

.connect-button {
  border: 2px solid #007bff;
  padding: 10px;
  border-radius: 5px;
  padding-left: 30px;
}

/* 애니메이션 효과 */
.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
    0% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}

/* 반응형 스타일 */
@media (max-width: 640px) {
    .hero h1, #hero h1 {
      font-size: 60px;
      font-weight: 400;
      line-height: 70px;
      color: #fff;
      margin-bottom: 20px;
      text-align: center;
      font-family: "Audiowide", sans-serif;
      font-style: normal;
    }

    .hero p, #hero p {
        font-size: 15px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    .btn-get-started, .btn-watch-video {
        font-size: 13px;
    }
}

/* 버튼과 닷 스타일 */
.slider__dot a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: 5px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
}

.slider__dot {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider__dot .dot {
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.3s;
}

.slider__dot .dot.active {
    background: #fff;
    opacity: 1;
}

/* 반응형 스타일 */
@media (max-width: 640px) {
    .slider__btn a, .slider__dot a {
        font-size: 12px;
    }
}

/*타이핑 효과*/
.typing {
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 1.8rem;
}

.text {
  font-size: 1.8rem; /* 적당한 크기로 수정 */
  margin-left: .6rem;
}

.text::after {
  content: '';
  margin-left: .4rem;
  border-right: 2px solid #777;
  animation: cursor .9s infinite steps(2);
}

@keyframes cursor {
  from { border-right: 2px solid #222; }
  to { border-right: 2px solid #777; }
}






/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 12px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

.about {
    position: relative;
    z-index: 1;
}

.about .section-title {
    margin-top: 50px;
}

header {
    margin-bottom: 50px;
}

header {
    position: relative;
    z-index: 10;
}



/*--------------------------------------------------------------
# Major Activity Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 30px; /* 여백을 약간 줄여 카드 안에 공간 확보 */
  transition: all ease-in-out 0.4s;
  width: 476.37px; /* 고정 너비 */
  height: 404.44px; /* 고정 높이 */
  display: flex;
  flex-direction: column; /* 수직 정렬 */
  justify-content: space-between; /* 콘텐츠 간격 조정 */
  align-items: center; /* 가운데 정렬 */
  box-sizing: border-box; /* 패딩 포함 크기 계산 */
  height: 100%;
  width: 100%;
  max-width: 500px;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  margin-top: 15px; /* 이미지와 텍스트 사이의 적절한 간격 */
  text-align: center; /* 텍스트 중앙 정렬 */
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: center; /* 본문도 중앙 정렬 */
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .service-item:hover h4 a {
  color: var(--accent-color);
}

/* 이미지의 크기를 동일하게 조정 */
.cardViewImage img {
  display: block;
  width: 100%;
  height: 200px; /* 고정 높이 */
  object-fit: cover; /* 이미지 비율 유지 */
}

/* 상단 이미지와 카드 전체 크기를 맞추기 위한 추가 클래스 */
.cardViewImage {
  width: 100%; /* 카드의 너비에 맞춤 */
  height: 200px; /* 이미지 높이 */
  margin-bottom: 15px; /* 이미지와 텍스트 사이 간격 */
  flex-shrink: 0; /* 이미지 크기 고정 */
}



/*--------------------------------------------------------------
# Artineer calender Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}


/*캘린더 기능*/
#calendar {
  max-width: 100%;
  margin: 0 auto;
  height: auto; /* 필요시 높이를 조정 */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}


.popupModal {
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: ;
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: var(--bs-border-color-translucent);
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: var(--bs-border-radius-lg);
  --bs-modal-box-shadow: var(--bs-box-shadow-sm);
  --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.5;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  /*position: fixed;*/
  /*top: 0;*/
  /*left: 0;*/
  margin: 10px;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}








/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }

}

footer strong {
  font-size: 14px;
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}


/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}








/*사용자 행동 추적 동의 배너 (구글 애널리스틱) 시작*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(33, 37, 41, 0.95);
  color: #fff;
  padding: 1rem 1rem 0 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent.hiding {
  transform: translateY(100%);
}

.cookie-settings {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.cookie-settings.show {
  max-height: 300px;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.cookie-consent p {
  margin: 0 !important;
}

.cookie-consent *, ::after, ::before {
  box-sizing: border-box; !important;
}

.cookie-consent .container {
  display: block;
  height: auto;
}
/*사용자 행동 추적 동의 배너 (구글 애널리스틱) 끝*/




