/**
* Template Name: Medicio
* Template URL: https://bootstrapmade.com/medicio-free-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Noto Sans KR", "Roboto",
                  system-ui, -apple-system,
                  "Apple SD Gothic Neo", "Malgun Gothic",
                  "Segoe UI", Arial, sans-serif;

  --heading-font: "Noto Sans KR", "Roboto",
                  "Apple SD Gothic Neo", "Malgun Gothic",
                  sans-serif;

  --nav-font: "Noto Sans KR", "Roboto",
              "Apple SD Gothic Neo", "Malgun Gothic",
              sans-serif;
}

/* 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: #555555; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #003d7c; /* 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: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #003d7c; /* 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: #003d7c; /* 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: #efefef;
  --surface-color: #ffffff;
}

.lightblue-background {
  --background-color: #e6edf5;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.footer-background {
  --background-color: #333333;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #003d7c;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #65c9cd;
}

/* 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);
  font-size: 16px; 
}

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);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Topbar 기본 */
.header .topbar {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  height: 40px;
  padding: 0;
  transition: all 0.5s;
}

/* 우측 정렬 */
.topbar-right {
  display: flex;
  justify-content: flex-end;   /* ⭐ 우측 정렬 핵심 */
  align-items: center;
  height: 40px;
}

/* 링크 스타일 */
.topbar-right a {
  display: flex;
  align-items: center; /* a 태그 내부 텍스트의 완벽한 수직 정렬 보장 */
  color: var(--contrast-color);
  text-decoration: none;
  padding: 0 12px;
  transition: opacity 0.2s ease;
  font-size: 15px;
  /* line-height: 20px; <-- 삭제 (정렬 오차의 원인) */
}

/* hover 효과 */
.topbar-right a:hover {
  text-decoration: none;
}

/* 구분자 | */
.topbar-right .divider {
display: flex;
  align-items: center;
  opacity: 0.6;
  user-select: none;
  font-size: 12px;
  
  /* 위치 미세 조정 추가 */
  position: relative;
  top: 2px; /* 값을 1px, 2px 등으로 변경하면서 가장 자연스러운 위치를 찾아보세요 */
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

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

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 20px;
  margin: 0 5px 0 30px;
  border-radius: 4px;
  transition: 0.3s;
}

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@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: #111;
    padding: 18px 30px;
    font-size: 19px;
    font-family: var(--nav-font);
    font-weight: 400;
    text-transform: uppercase;
    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);
  }

/* 서브메뉴 영역(hover 끊김 방지용) */
.navmenu .dropdown { 
  padding-bottom: 0;
  position: relative; /* absolute 기준 안정화 */
}

/* ✅ 서브메뉴 박스 */
.navmenu .dropdown ul{
  margin: 0;
  padding: 0px 0;
  background: #ffffff;
  backdrop-filter: none;

  display: block;
  position: absolute;
  visibility: hidden;
  left: 4px;

  top: calc(100% + 18px);   /* ✅ 기존 8px → 18px로 더 아래 */
  opacity: 0;
  transition: 0.3s;

  border-radius: 0;
  box-shadow: none;

  border: 1px solid #dcdcdc;        /* 기존 라인 유지 */
  border-top: 4px solid #003d7c;     /* ✅ 맨 위 3px 블루라인 */
  
  z-index: 99;
  outline: 0;
}


/* 메뉴 항목 폭 */
.navmenu .dropdown ul li{
  min-width: 200px;
}

/* ✅ 서브메뉴 링크 (검정 글씨) */
.navmenu .dropdown ul a{
  display: block;
  padding: 10px 20px;
  font-size: 17px;
  color: #111;                    /* ✅ 검정 글씨 */
  text-decoration: none;

  /* ✅ 혹시 상단 바 만드는 스타일이 상속/적용된 경우 차단 */
  border: 0 !important;
  box-shadow: none !important;

  transition: background .2s ease, color .2s ease;
}

/* ✅ hover 시 회색 배경 */
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul li:hover > a{
  background: #f2f2f2;            /* ✅ 회색 배경 */
  color: #111;
}

/* 드롭다운 화살표 아이콘 숨김 */
.navmenu .dropdown > a i{
  display: none;
}

/* ✅ 드롭다운 표시 (여기서 top을 100%로 덮어쓰지 말기!) */
.navmenu .dropdown:hover > ul{
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);  /* ✅ 위와 동일하게 맞춰야 점프 없음 */
}

/* 2단 서브메뉴 */
.navmenu .dropdown .dropdown ul{
  top: 0;
  left: -90%;
  visibility: hidden;
}

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

}

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    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;
    width: 30px;
    height: 30px;
    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 a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .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 .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;
  }
}


/* =========================
   Footer Top Bar
========================= */
#footer{
  background: #f2f2f2;   /* ⭐ 이미지와 비슷한 회색 */
}

.footer-topbar{
  background: #f2f2f2;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.footer-links{
  text-align: right;
  font-size: 13px;
  color: #555;
}

.footer-links a{
  color: #555;
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover{
  text-decoration: underline;
}


/* =========================
   Footer Main
========================= */

.footer-main{
  background: #f2f2f2;	
  padding: 30px 0;
}

.footer-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}


/* 좌측 로고 */
.footer-logo img{
  max-height: 60px;
}


/* 중앙 텍스트 */
.footer-info{
  flex: 1;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}


/* 우측 SNS */
.footer-sns{
  display: flex;
  gap: 10px;
}

.footer-sns a{
  width: 36px;
  height: 36px;
  background: #9b9b9b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
}

.footer-sns a:hover{
  background: #6f6f6f;
}


@media (max-width: 768px){

  .footer-row{
    flex-direction: column;
    text-align: center;
  }

  .footer-info{
    order: 2;
  }

  .footer-sns{
    order: 3;
  }

  .footer-links{
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: 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 var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s 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: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

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

.page-title nav 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: 120px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

/*--------------------------------------------------------------
# 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;
  position: relative;
}

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

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

/*--------------------------------------------------------------
# Hero Section (배경 캐러셀 + 오버랩 통합 박스)
# - PC(>=1280): 2단(좌 765x450 고정)
# - 그 외: 무조건 모바일(세로 스택)
--------------------------------------------------------------*/

:root{
  /* 기본(=PC 미만 전부) */
  --hero-bg-h: 400px;         /* 배경 높이(모바일/태블릿 기본) */
  --card-w: 1280px;           /* 통합박스 최대 폭 */
  --card-h: 450px;            /* PC에서 사용할 기준 높이 */
  --card-overlap: 150px;      /* ✅ 기본은 덜 겹치게(=박스가 더 아래) */

  --overlay: rgba(0,0,0,.30);
  --shadow: 0 10px 25px rgba(0,0,0,.15);
  --divider: #e9ecef;

  /* 배너 PC 고정 사이즈 */
  --banner-pc-w: 765px;
  --banner-pc-h: 450px;
}

/* HERO 전체 */
.hero-home{
  position: relative;
  width: 100%;
  background: #fff;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

/* 배경 캐러셀 (고정 높이만 차지) */
.hero-bg-carousel{
  position: relative;
  height: var(--hero-bg-h);
  z-index: 1;
}

.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item{
  height: 100%;
}

.hero-bg-carousel img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* ✅ 이미지 자체를 어둡게 */
  filter: brightness(0.55);
}

/* ✅ overlay(추가 어둡게) */
.hero-home::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: var(--hero-bg-h);
  background: var(--overlay);
  z-index: 2;
  pointer-events: none;
}

/* 배경 줌아웃 */
@keyframes heroZoomOut{
  from { transform: scale(1.12); }
  to   { transform: scale(1.00); }
}

#heroBgCarousel .carousel-item img{
  transform: scale(1.12);
  animation: heroZoomOut 5s linear both;
  will-change: transform;
}
#heroBgCarousel .carousel-item:not(.active) img{
  animation: none;
  transform: scale(1.12);
}

/* 배경 화살표 */
#heroBgCarousel .carousel-control-prev,
#heroBgCarousel .carousel-control-next{
  top: 0;
  height: var(--hero-bg-h);
  width: 72px;
  opacity: .95;
  z-index: 6;
  pointer-events: auto;
}
#heroBgCarousel .carousel-control-prev{ left: 10px; }
#heroBgCarousel .carousel-control-next{ right: 10px; }

#heroBgCarousel .carousel-control-prev-icon,
#heroBgCarousel .carousel-control-next-icon{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
#heroBgCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroBgCarousel .carousel-control-next:hover .carousel-control-next-icon{
  background: rgba(0,0,0,.55);
}

/* 필요 없으면 배경 도트 숨김 */
#heroBgCarousel .carousel-indicators{ display:none; }

/* 중앙 텍스트 */
.hero-center-text{
  position: absolute;
  left: 0; right: 0;
  top: 60px;                 /* ✅ 텍스트를 좀 더 위로 */
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.hero-center-text h1{
  font-size: 24px;           /* 기본(PC 미만) */
  font-weight: 500;
  margin: 0 0 10px;
  color:#fff;
  letter-spacing: -0.05em;   /* ✅ 자간 줄이기 */
}

.hero-center-text p{
  font-size: 16px;
  margin: 0;
  opacity: .92;
}

/* ✅ 하단 통합박스: 배경과 겹치게(오버랩) */
.hero-bottom{
  position: relative;
  z-index: 10;
  margin-top: calc(var(--card-overlap) * -1.5); /* ✅ 겹침 */
  padding: 0 0px 60px 0;
  display: flex;
  justify-content: center;
}

/* 통합 카드 */
.hero-combo-card{
  width: min(var(--card-w), 100%);
  background: #fff;
  box-shadow:0 10px 10px rgba(0,0,0,.15);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: stretch;

  /* ✅ 기본(PC 미만)은 무조건 모바일처럼 */
  flex-direction: column;
  height: auto;
  margin: 0 10px;   /* ⭐ 좌우 여백 */
}

  
/* LEFT/RIGHT 기본(모바일) */
.hero-combo-left{
  width: 100%;
  max-width: 100%;
  border-right: 0;
}
.hero-combo-right{
  width: 100%;
}

/* 배너 캐러셀(모바일 기본) - 비율 유지 */
#heroBannerCarousel,
#heroBannerCarousel .carousel-inner,
#heroBannerCarousel .carousel-item{
  width: 100%;
  height: auto;
  aspect-ratio: 765 / 450;   /* ✅ 모바일에서도 같은 비율 */
}

/* 배너 이미지 */
.hero-banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* 선명도 보정(가능한 범위) */
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 배너 화살표 */
#heroBannerCarousel .carousel-control-prev,
#heroBannerCarousel .carousel-control-next{
  width: 64px;
  opacity: 1;
  z-index: 7;
  pointer-events: auto;
}
#heroBannerCarousel .carousel-control-prev-icon,
#heroBannerCarousel .carousel-control-next-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
#heroBannerCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroBannerCarousel .carousel-control-next:hover .carousel-control-next-icon{
  background: rgba(0,0,0,.45);
}

/* 배너 도트 */
#heroBannerCarousel .carousel-indicators{
  bottom: 16px;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
  z-index: 7;
}
#heroBannerCarousel .carousel-indicators [data-bs-target],
#heroBannerCarousel .carousel-indicators li{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.9);
  opacity: .9;
}
#heroBannerCarousel .carousel-indicators .active{
  background: var(--accent-color);
  opacity: 1;
}

/* =========================
   Right Panel (공지/학회지)
   ========================= */

.hero-notice{
  display: flex;
  flex-direction: column;
  background: #fff;
  margin: 10px 20px;  /* 모바일 기본 */
}

/* tabs bar */
.hero-notice-tabs{
  margin-top: 10px; 
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 3px solid #003d7c;
}

/* tab */
.hero-notice-tabs .tab{
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  padding: 12px 0 5px;
}

/* more link right */
.hero-notice-tabs .notice-more{
  margin-top: 10px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}
.hero-notice-tabs .notice-more:hover{
  text-decoration: none;
}

/* body */
.hero-notice-body{
  padding: 10px 5px;
  overflow: auto;
  min-height: 100px;        /* 3줄 정도 높이 */
  max-height: 100px;
}

/* list */
.notice-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.notice-list li{
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}

/* title + date */
.notice-title{
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px !important;
  color: #222;
  text-decoration: none;
}
.notice-title:hover{ text-decoration: underline; }

.notice-date{
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
  font-size: 15px !important;
  color: #777;
}

/* 학회지 이미지 영역 */
.hero-notice-jr{
  padding: 6px 0 12px;
  text-align: center;
}
.hero-notice-jr img{
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# ✅ PC 전용 (1280px 이상만)
--------------------------------------------------------------*/
@media (min-width: 1280px){

  :root{
    --hero-bg-h: 600px;
    --card-overlap: 180px;    /* ✅ PC에서도 배너가 배경보다 조금 더 아래 */
  }

  .hero-center-text{
    top: 120px;
  }
  .hero-center-text h1{
    font-size: 40px;
  }
  .hero-center-text p{
    font-size: 20px;
  }

  /* PC는 2단 */
  .hero-combo-card{
    flex-direction: row;
    height: var(--card-h);
  width: calc(100% + 40px);
  margin-left: 10px;
  margin-right: 10px;
  }

  /* 좌측 배너 PC 고정 765px */
  .hero-combo-left{
    flex: 0 0 var(--banner-pc-w);
    width: var(--banner-pc-w);
    max-width: var(--banner-pc-w);
    border-right: 1px solid var(--divider);
    min-width: 0;
  }

  .hero-combo-right{
    flex: 1 1 0;
    min-width: 380px;
  }

  /* 배너 PC 고정 높이 450px */
  #heroBannerCarousel,
  #heroBannerCarousel .carousel-inner,
  #heroBannerCarousel .carousel-item{
    width: 100%;
    height: var(--banner-pc-h);
    aspect-ratio: auto;
  }

  /* 우측 패널 여백 PC */
  .hero-notice{
    margin: 15px 30px;
    height: 100%;
  }

  /* 공지/학회지 배치가 너무 아래로 내려가면 살짝 위로 */
  .hero-notice-jr{
    margin-top: 5px;   /* ✅ PC에서만 "학회지 투고" 파트 살짝 위로 */
  }
}


/*--------------------------------------------------------------
# 배너 (정리본)
--------------------------------------------------------------*/

/* ✅ 화살표를 바깥으로 빼기 위한 래퍼 */
.hero-banner-wrap{
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;            /* ✅ 좌/우 화살표 자리 */
  box-sizing: border-box;
}

/* swiper */
.hero-banner-swiper{
  width: 100%;
  overflow: hidden;           /* ✅ 슬라이드 영역 정리 */
}

/* ✅ 슬라이드(카드) */
.hero-banner-swiper .swiper-slide{
  border-radius: 0px;
  overflow: hidden;
  height: 120px;              /* ✅ 여기서 "이미지 크기(높이)" 통일 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✅ 이미지: 동일한 카드 안에서 꽉 차게 */
.hero-banner-swiper .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;       /* ✅ 로고가 잘리면 contain으로 변경 가능 */
  display: block;
}

/* ✅ 화살표: 배너 영역 바깥으로 */
.hero-banner-wrap .swiper-button-prev,
.hero-banner-wrap .swiper-button-next{
  width: 48px;
  height: 48px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);

  background: transparent;    /* ✅ 동그라미 배경 제거(원하면 살려도 됨) */
  color: #8a8a8a;             /* ✅ 회색 화살표 */
}

/* 바깥 위치 */
.hero-banner-wrap .swiper-button-prev{ left: 0; }
.hero-banner-wrap .swiper-button-next{ right: 0; }

/* Swiper 기본 after 아이콘 스타일 */
.hero-banner-wrap .swiper-button-prev:after,
.hero-banner-wrap .swiper-button-next:after{
  font-size: 34px;
  font-weight: 300;
}

/* hover */
.hero-banner-wrap .swiper-button-prev:hover,
.hero-banner-wrap .swiper-button-next:hover{
  color: #5f5f5f;
}

/* ✅ 모바일: 가운데 정렬 유지 + 화살표 공간 축소 */
@media (max-width: 768px){
  .hero-banner-wrap{
    padding: 0 42px;
  }
  .hero-banner-swiper .swiper-slide{
    height: 120px;             /* 모바일에서 살짝 낮게 */
  }
  .hero-banner-wrap .swiper-button-prev:after,
  .hero-banner-wrap .swiper-button-next:after{
    font-size: 28px;
  }
}


/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
/* row를 stretch 정렬 */
.featured-services .row {
  align-items: stretch;
}

/* 컬럼도 flex 유지 */
.featured-services .col-xl-3,
.featured-services .col-md-6 {
  display: flex;
}

/* 박스 동일 높이 */
.featured-services .service-item {
  background-color: #ffffff;
  padding: 30px 30px;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 1;

  display: flex;                /* ⭐ 내부 정렬 통일 */
  flex-direction: column;       /* 세로 구조 */
  justify-content: flex-start;
  width: 100%;
  min-height: 200px;            /* ⭐ 고정 최소 높이 */
}
.featured-services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

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

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 40px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

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

.featured-services .service-item p {
  line-height: 20px;
  font-size: 15px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover p {
  color: var(--contrast-color);
}

.featured-services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action{
  position: relative;
  background: url("../img/main_join.jpg") center/cover no-repeat;
  padding: 80px 0;        /* 필요 시 조절 */
  overflow: hidden;
}

/* 텍스트 가독성을 위한 어두운 레이어 */
.call-to-action::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);   /* ⭐ 어두움 정도 조절 */
  z-index: 1;
}


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

.call-to-action h3 {
  color: #fff;	
  font-size: 30px;
  font-weight: 600;
  color: var(--default-color);
}

.call-to-action p {
  color: #fff;
  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: 4px;
  transition: 0.3s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.features h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.features .icon-box {
  margin-top: 50px;
}

.features .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.features .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.features .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.features .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .icon-box h4 a:hover {
  color: var(--accent-color);
}

.features .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  text-align: center;
  padding: 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  background-color: var(--surface-color);
  color: var(--accent-color);
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  font-size: 32px;
  transition: ease-in-out 0.3s;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .service-item h3 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 22px;
  transition: 0.3s;
  position: relative;
}

.services .service-item h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .icon {
  box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

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

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  overflow: hidden;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

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

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Poster Section
--------------------------------------------------------------*/
.poster-row{
  justify-content: center;
}

.poster .poster-title{
  margin-bottom: 20px;
  text-align: center;
}

.poster .poster-title h2{
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
}

.poster .poster-item{
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;

  /* ✅ 카드 폭 통일 + 가운데 */
  width: min(100%, 400px);  /* 필요하면 380/400으로 조절 */
  margin: 0 auto;
}


/* 이미지 영역 */
.poster .poster-item .poster-img{
  position: relative;
  overflow: hidden;
}

/* hover시 살짝 확대 */
.poster .poster-item .poster-img img{
  transition: transform .35s ease;
  width: 100%;
  display: block;
}
.poster .poster-item:hover .poster-img img{
  transform: scale(1.03);
}


/* (선택) 오버레이/버튼 영역이 필요할 때를 대비한 자리 (현재 HTML엔 없음)
.poster .poster .poster-actions{
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}
.poster .poster:hover .poster-actions{
  opacity: 1;
  bottom: 15px;
}
*/

/* 텍스트 영역 */
.poster .poster-item .poster-info{
  padding: 25px 15px;
}

.poster .poster-item .poster-info h4{
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;

}

.poster .poster-item .poster-info span{
  display: block;
  font-size: 15px;
  font-weight: 500;

}




/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

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

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    transition: none;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  border-color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

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

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

@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: var(--surface-color);
  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: 4px;
}

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

/*--------------------------------------------------------------
# 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 */
}



/* =========================
   Sub Hero (상단 이미지 영역)
========================= */

.sub-hero{
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

/* 어두운 오버레이 */
.sub-hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

/* 내용 */
.sub-hero .container{
  position: relative;
  z-index: 2;
}

/* 타이틀 */
.sub-hero-title{
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
}

/* breadcrumb */
.sub-hero-breadcrumb{
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.sub-hero-breadcrumb a{
  color: rgba(255,255,255,.9);
  text-decoration: none;
}

.sub-hero-breadcrumb span{
  margin: 0 10px;

}

/* =========================
   Sub Category Bar
========================= */

.sub-category-bar{
  background: #e6edf5;
  border-top: 1px solid #d4dbe3;
  border-bottom: 1px solid #d4dbe3;
}

.sub-category-inner{
  display: flex;
  align-items: center;
  height: 45px;
}

/* 홈 아이콘 */
.cat-home{
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #cfd7e1;
  color: #6b7c8f;
  font-size: 20px;
  text-decoration: none;
}

/* 메뉴 항목 */
.cat-item{
  position: relative;
  padding: 0 26px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid #cfd7e1;
  font-weight: 600;
  color: #6b7c8f;
}

/* 버튼 스타일 */
.cat-btn{
  background: none;
  border: 0;
  font-weight: 600;
  color: #003d7c;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cat-btn i{
  margin-left: 20px;
  font-size: 12px;
}

/* =========================
   드롭다운 메뉴
========================= */

.cat-dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #d7dde6;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  list-style: none;
  padding: 0px 0;
  margin: 0;
  display: none;
  z-index: 50;
}

/* 메뉴 항목 */
.cat-dropdown li a{
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.cat-dropdown li a:hover{
  background: #f2f6fb;
  color: #003d7c;
}



@media (max-width: 768px){

  .sub-hero{ height: 180px; }

  .sub-hero-title{
    font-size: 28px;
  }

  .sub-category-inner{
    height: 52px;
  }

  .cat-item{
    padding: 0 14px;
    font-size: 14px;
  }

  .cat-home{
    width: 48px;
  }
}


/* =========================
   Title Bar — 동일 높이 라인
========================= */

.titlebar-inner{
  position: relative;
  padding-bottom: 14px;
}

/* 전체 회색 라인 */
.titlebar-inner::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;              /* ⭐ 선 높이 */
  background:#d9e3ef;
}

/* 남색 강조 구간 */
.titlebar-title{
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: -0.03em;
  display:inline-block;
  position: relative;
}

.titlebar-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-14px;
  height:3px;              /* ⭐ 회색과 동일 */
  width:100px;              /* 강조 길이 */
  background: var(--accent-color);
}


/* =========================
   Content Area — 초밀착 모드
========================= */

.content-section{
  background:#fff;
  margin: 0 !important;
  padding: 0 !important;
}

/* section 기본 여백 제거 */
.content-section.section{
  padding: 0 !important;
}

/* container 여백 제거 */
.content-section .container{
  padding-top: 0 !important;
  padding-bottom: 80px !important;
  margin-top: -10px !important;
}

/* 제목 여백 제거 */
.content-section h1,
.content-section h2,
.content-section h3{
  margin-top: 0 !important;
  margin-bottom: 10px;
}

/* 실제 내용 영역 */
.content-section .page-content{
  min-height: 500px;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* =========================
   메인 공지 학술대회
   ========================= */

.conf-box{
  padding:25px 10px;
}

.conf-title{
  font-size:22px;
  font-weight:800;
  color:#1b2a41;
  margin-bottom:8px;
}

.conf-deadline{
  font-size:18px;
  font-weight:700;
  color:#e60012;
  margin-bottom:18px;
}

.conf-info p{
  font-size:16px;
  margin:4px 0;
}

.conf-info span{
  display:inline-block;
  width:60px;
  font-weight:700;
  color:#003d7c;
}

.conf-btns{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn-primary{
  background:#003d7c;
  color:#fff;
  padding:10px 20px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
}

.btn-outline{
  border:1px solid #003d7c;
  color:#003d7c;
  padding:10px 20px;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
  background:#fff;
}

.btn-outline:hover{
  background:#003d7c;
  color:#fff;
}



/* =========================
   메인 저널
   ========================= */
.journal-box{
  background:#fff;                    /* 흰색 배경 */
  border:1px solid #ddd;              /* 회색 1px */
  padding:20px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

/* 왼쪽 로고 */
.journal-left img{
  width:auto;
  display:block;   /* ⭐ 이 줄 추가 */
}

/* 오른쪽 영역 */
.journal-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

/* 버튼 */
.journal-btn{
  background:#003d7c;                 /* 학회 파란색 */
  color:#fff;
  padding:14px 32px;
  font-size:18px;
  font-weight:700;
  text-decoration:none;
  border-radius:6px;
  transition:all .25s ease;
}

/* hover */
.journal-btn:hover{
  background:#000;                    /* 오버시 검은색 */
  color:#fff;
}

/* ===== 모바일 ===== */
@media (max-width:768px){
  .journal-box{
    flex-direction:column;
    text-align:center;
  }

/* 왼쪽 로고 */
.journal-left img{
    width:400px;   /* 원하는 크기로 조절 */
    height:auto;
}


  .journal-right{
    justify-content:center;
  }

  .journal-btn{
    width:100%;
  }
}


/* =========================
    메인 서비스
========================= */


.main-services{
  margin-top:-50px;  
  padding:50px 0;
  background:#fff;
}

.svc-card{
  width:100%;
  border-radius:10px;
  padding:26px 26px 22px;
  color:#fff;
  position:relative;
  overflow:hidden;
  min-height:260px;
  box-shadow:0 10px 10px rgba(0,0,0,.15);
}

/* 상단 타이틀 + 아이콘 */
.svc-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.svc-title{
  font-size:28px;
  color:#ffffff; 
  font-weight:800;
  margin:0;
  line-height:1.15;
  letter-spacing:-0.02em;
}

/* 우측상단 아이콘 박스 (이미지 느낌: 라인/반투명) */
.svc-ico{
  width:54px;
  height:54px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
}

.svc-ico i{
  font-size:24px;
  color:rgba(255,255,255,.95);
}

/* 내부 메뉴 리스트 */
.svc-links{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid rgba(255,255,255,.25);
}

.svc-links li{
  border-bottom:1px solid rgba(255,255,255,.18);
}

.svc-links li:last-child{
  border-bottom:0;
}

.svc-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  padding:12px 6px;
  color:rgba(255,255,255,.95);
  text-decoration:none;
  font-size:16px;
  font-weight:600;
}

.svc-links a::after{
  content:"›";
  font-size:18px;
  opacity:.9;
}

/* hover */
.svc-links a:hover{
  background:rgba(0,0,0,.12);
}

/* 카드별 배경 (블루 → 민트 계열) */
.bg-1{
  background:linear-gradient(135deg,#0d3c78,#1f5fa8);
}

.bg-2{
  background:linear-gradient(135deg,#145da0,#2e8bc0);
}

.bg-3{
  background:linear-gradient(135deg,#1b7f85,#3fbfbf);
}

.bg-4{
  background:linear-gradient(135deg,#1f6f8b,#2aa7a7);
}

/* 반응형 */
@media (max-width:768px){
  .svc-card{ min-height:220px; padding:22px 20px 18px; }
  .svc-title{ font-size:22px; }
  .svc-ico{ width:46px; height:46px; border-radius:10px; }
  .svc-ico i{ font-size:20px; }
  .svc-links a{ font-size:14px; padding:11px 4px; }
}


/* =========================
   QUICK 카드 (화이트 박스 스타일)
========================= */
.quick-wrap {
  margin-top:-60px;	
}
  
.quick .quick-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:0px;
  height:270px;
  box-shadow:0 0px 0px rgba(0,0,0,.05);
  overflow:hidden;
}

/* ⭐ 위로 정렬 */
.quick .quick-inner{
  height:100%;
  padding:28px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;   /* ✅ 위 정렬 */
  text-align:center;
}

/* 이미지 아이콘 */
.quick .quick-img{
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
}

.quick .quick-img img{
  max-height:40px;
  width:auto;
}

/* 제목 */
.quick .quick-title{
  font-size:18px;
  font-weight:700;
  margin-top:10px;
  margin-bottom:20px;
  color:#111;
}

/* 버튼 영역 */
.quick .quick-actions{
  margin-top:auto;
  width:100%;
  display:flex;
  flex-direction:row;        /* ⭐ 가로 정렬 */
  gap:10px;
  justify-content:center;    /* 가운데 정렬 */
  flex-wrap:nowrap;          /* 줄바꿈 방지 */
}

/* 버튼 */
.quick .quick-btn{
  min-width:auto;
  padding:0 10px;
  white-space:nowrap;        /* ⭐ 텍스트 줄바꿈 방지 */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:35px;
  border-radius:8px;
  background:#003d7c;
  color:#fff;
  font-weight:400;
  text-decoration:none;
  border:1px solid #003d7c;
  transition:.25s ease;
}

.quick .quick-btn:hover{
  background:#000;
  border-color:#000;
}

/* 모바일 */
@media (max-width:768px){
  .quick .quick-card{
    height:auto;
  }
}

/* Quick 섹션 카드: PC 4열 / 탭 2열 / 모바일 1열 강제 */
#quick .row > [class*="col-"]{
  margin-bottom: 24px;
}