@charset "utf-8";

/* ============================================
   CSS 변수 정의
   ============================================ */
:root {
    /* 컬러 팔레트 */
    --primary-red: #E74C3C;      /* 메인 강조색 */
    --light-red: #FBEAEA;        /* 보조 강조색 */
    --dark-gray: #333;
    --medium-gray: #555;
    --light-gray: #EEE;
    --background-color: #FDFDFD;
    --card-bg: #FFF;
    --primary-yellow: #FFD700;   /* 구분선에 사용할 황금색 계열 */
    --main-green: #385E3B;
    --accent-gold: #D4AF37;
    --text-white: #FFF;
    
    /* 트랜지션 */
    --transition-speed: 0.5s;
}

/* 주석 처리된 변수 */
/* --main-green: #38A752; kfhi 사이트의 메인 녹색 */


/* ============================================
   기본 리셋 및 전역 스타일
   ============================================ */

/* 폰트 설정 */
.font-power {
    font-family: 'GangwonEdu_Power', sans-serif;
}

/* Swiper 컨테이너 */
.swiper-container {
    position: relative;
}

/* HTML 기본 스타일 */
html {
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

html::-webkit-scrollbar-thumb {
    background-color: #19A3C0;
}

/* Body 기본 스타일 */
body {
    overflow-x: hidden;
    font-weight: 400;
}

/* body, a:not(.btn) 기본 스타일은 필요시 추가 */

/* 링크 스타일 */
a,
a:link,
a:hover,
a:visited,
a:active {
    text-decoration: none;
}

/* 스크린 리더 전용 텍스트 */
.msg_sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}

/* 상단으로 이동 버튼 */
.back-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 50px;
    height: 50px;
    color: #fff !important;
    line-height: 50px;
    font-weight: 500;
    text-align: center;
    display: none;
    font-family: 'Roboto';
    background: #19A3C0;
}

/* 박스 그림자 유틸리티 */
.box-shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
}


/* ============================================
   헤더 영역
   ============================================ */

/* 헤더 래퍼 */
#header-wrapper {
    width: 100%;
    height: 150px;
    z-index: 50;
    transition: height 0.1s, padding 0.1s;
    border-bottom: 1px solid rgba(238, 238, 238, 0);
    background: rgba(255, 255, 255, 0);
    position:fixed;
}

/* #header 스타일은 필요시 추가 */

/* 헤더 상단 유틸리티 */
.header_top {
    padding: 10px 0;
    transition: all 0.3s;
    opacity: 1;
}

.header_top .utility a {
    font-size: 0.8em;
    padding: 5px 7px;
}

/* 헤더 메뉴 섹션 */
#header .menu-section {
    display: flex;
    justify-content: space-between;
}

#header .header_menu {
    display: flex;
    align-items: center;
}

/* 로고 스타일 */
#header .logo img {
    width: 80px;
}

#header .logo a:hover img {
    animation: bounce;
    animation-duration: 1s;
}

#header .mobile-open {
    display: none;
}

/* 스크롤 시 헤더 스타일 */
.scrollOn #header-wrapper {
    background-color: white;
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
    opacity: 1;
    height:100px;
    padding-top:10px;
}

.scrollOn #header-wrapper .header_top {
    opacity: 0;
    height: 0;
    padding: 0;
}

.scrollOn #topnav.sf-menu > li > a {
    color: black;
}


/* ============================================
   네비게이션 메뉴
   ============================================ */

/* 기본 리셋 & 공통 */
#topnav,
#topnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#topnav a {
    text-decoration: none;
    display: block;
}

/* 1단계: 가로 네비게이션 */
#topnav.sf-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    position: relative;
}

/* 1단계 링크 스타일 */
#topnav.sf-menu > li {
    position: relative;
}

#topnav.sf-menu > li > a {
    padding: 12px 10px;
    position: relative;
    /* 밑줄 애니메이션: 가운데에서 양끝으로 */
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0 2px;
    background-position: 50% 100%;
    transition: background-size 0.25s ease;
}

#topnav.sf-menu > li > a:hover,
#topnav.sf-menu > li:hover > a {
    background-size: 100% 2px;
}

/* 2단계 서브메뉴 컨테이너 */
#topnav.sf-menu > li > ul.subnav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1000;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1단계 hover 시 2단계 표시 */
#topnav.sf-menu > li:hover > ul.subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 2단계 항목 */
#topnav.sf-menu > li > ul.subnav > li {
    position: relative;
    width: 100%;
}

#topnav.sf-menu > li > ul.subnav > li > a {
    color: #222;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

#topnav.sf-menu > li > ul.subnav > li > a:hover {
    background: #f3f5f7;
}

/* 2단계에서 하위(3단계)를 가지는 항목에 V 아이콘 */
#topnav.sf-menu > li:has(> ul.subnav) > a::after {
    content: "\f078";
    font: var(--fa-font-solid);
    font-size: 12px;
    margin-left: 6px;
}

/* 3단계 서브메뉴 */
#topnav.sf-menu > li > ul.subnav > li > ul.sub {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1001;
    padding: 8px;
}

/* 2단계 li hover 시 3단계 표시 */
#topnav.sf-menu > li > ul.subnav > li:hover > ul.sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 3단계 항목 */
#topnav.sf-menu > li > ul.subnav > li > ul.sub > li > a {
    color: #222;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.2;
    white-space: nowrap;
}

#topnav.sf-menu > li > ul.subnav > li > ul.sub > li > a:hover {
    background: #f3f5f7;
}

/* 3단계를 가지는 2단계 li에 > 아이콘 */
#topnav.sf-menu > li > ul.subnav > li:has(> ul.sub) > a::after {
    content: "\f054";
    font: var(--fa-font-solid);
    font-size: 14px;
    margin-left: 8px;
    float: right;
    opacity: 0.7;
}

/* 접근성/미세조정 */
#topnav.sf-menu > li > ul.subnav,
#topnav.sf-menu > li > ul.subnav > li > ul.sub {
    pointer-events: none;
}

#topnav.sf-menu > li:hover > ul.subnav,
#topnav.sf-menu > li > ul.subnav > li:hover > ul.sub {
    pointer-events: auto;
}

/* 겹침/경계 여백 (hover 끊김 방지용 히트존) */
#topnav.sf-menu > li > ul.subnav::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

#topnav.sf-menu > li > ul.subnav > li > ul.sub::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    bottom: 0;
}

/* 모션 최소화 환경 배려 */
@media (prefers-reduced-motion: reduce) {
    #topnav.sf-menu * {
        transition: none !important;
    }
}

/*서브페이지 메뉴색깔*/
body.is-subpage:not(.scrollOn) #topnav.sf-menu > li > a,
body.is-subpage:not(.scrollOn) .utility a {
    color:white;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    font-weight:700;
}


/* ============================================
   모바일 메뉴
   ============================================ */

/* 모바일 네비게이션 */
#mobileNav {
    position: fixed;
    width: 300px;
    height: 100%;
    top: 0;
    left: -300px;
    z-index: 101;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#mobileNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 모바일 헤더 */
#mobileNav .mobile-header {
    position: relative;
    padding: 10px;
    background: #19A3C0;
    display: none;
    height: 60px;
    color: white;
}

.mobile-header {
    display: none;
}

.mobile-header h4 {
    margin-top: 10px;
}

#mobileNav .mobile-header h4 a {
    color: #fff;
    font-size: 300;
    letter-spacing: -1px;
}

#mobileNav .mobile-header button {
    color: #fff;
}

#mobileNav .mobile-header .mobile-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    font-size: 28px;
    color: #fff;
    background-color: #19A3C0;
}

#mobileNav .mobile-header .mobile-close i {
    font-size: 28px;
}

/* 모바일 메뉴 네비게이션 바 */
#mobileNav .mgnb {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

#mobileNav .mgnb a {
    font-weight: 400;
    display: block;
}

#mobileNav .mgnb > li > a {
    background: #fff;
    border-top: 1px solid #ccc;
    font-size: 20px;
    padding: 15px 20px;
    color: #333333;
    font-weight: 400;
}

#mobileNav .mgnb > li:first-child > a {
    border-top: 0;
}

/* #mobileNav .mgnb > li.active > a 활성화 상태 스타일은 필요시 추가 */

#mobileNav .mgnb li > a i {
    margin-right: 5px;
    color: #767a81;
    transition: all 0.2s ease-out 0;
    -webkit-transition: all 0.2s ease-out 0;
}

#mobileNav .mgnb li > ul > li > a i {
    color: white;
}

#mobileNav .mgnb li a i.rightico {
    float: right;
    margin: 0;
}

#mobileNav .mgnb li.active > a i.rightico {
    color: #91cb5a;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
}

/* 모바일 서브메뉴 */
#mobileNav .mgnb > li > ul {
    border-top: 1px solid #596170;
}

#mobileNav .mgnb > li > ul > li > a {
    background: #757c89;
    border-bottom: 1px solid #596170;
    font-size: 16px;
    padding: 12px 20px 12px 30px;
    color: #fff;
}

#mobileNav .mgnb > li > ul > li > ul > li > a {
    background: #f5f5f5;
    border-top: 1px solid #cccccc;
    padding: 12px 40px;
    color: #777;
    font-size: 15px;
}

#mobileNav .mgnb > li > ul > li > ul > li:first-child > a {
    border-top: 0;
}

/* 모바일 푸터 */
.mobile-footer {
    float: left;
    width: 100%;
    padding: 5px 0;
    background: #fff;
    display: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.mobile-footer ul {
    display: flex;
    justify-content: space-between;
}

.mobile-footer ul > li {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-footer ul.three > li:nth-child(2) {
    border-right: 1px solid #D0D0D0;
    border-left: 1px solid #D0D0D0;
}

.mobile-footer ul.three:first-child {
    border-bottom: 1px solid #D0D0D0;
}

.mobile-footer ul > li i {
    display: block;
}

.mobile-footer ul > li > a {
    display: block;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    text-align: center;
    color: #757575;
}

.mobile-footer ul > li > a i {
    font-size: 1.5rem;
    padding-bottom: 5px;
}

.mobile-footer .formember {
    border-top: 1px solid #dddddd;
    padding: 5px;
    margin-top: 5px;
    float: left;
    width: 100%;
    font-size: 1.1em;
    font-weight: bold;
    color: #0D74EB;
}

/* .mobile-footer .sns SNS 링크 스타일은 필요시 추가 */


/* ============================================
   팝업 레이어
   ============================================ */

#hd_pop {
    z-index: 1000;
    position: relative;
    margin: 0 auto;
    height: 0;
}

#hd_pop h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.hd_pops {
    position: absolute;
    border: 1px solid #e9e9e9;
    background: #fff;
}

.hd_pops img {
    max-width: 100%;
}

/* .hd_pops_con 팝업 콘텐츠 스타일은 필요시 추가 */

.hd_pops_footer {
    padding: 0;
    background: #000;
    color: #fff;
    text-align: left;
    position: relative;
}

.hd_pops_footer:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.hd_pops_footer button {
    padding: 10px;
    border: 0;
    color: #fff;
}

.hd_pops_footer .hd_pops_reject {
    background: #000;
    text-align: left;
}

.hd_pops_footer .hd_pops_close {
    background: #393939;
    position: absolute;
    top: 0;
    right: 0;
}
.gjs-plus-button{display: none!important;}

/* ============================================
   컨텐츠 섹션
   ============================================ */
.breadcom, .breadcom a{color:white;text-align: center;text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);}
.breadcom h4, .breadcom a{}
.breadcom h4{margin-top:100px;font-size:3em;font-weight:600}

h2.lat-subject a, .lat-subject{font-size:40px;font-weight:600}
.lat-header{margin-bottom:20px}

/* 공지 리스트 pill 카드 스타일 */
#churchNews .lat-item {
 position: relative;
 padding: 0.75rem 1rem;
 margin-bottom: 0.75rem;
 background-color: #f8f9fa;          /* Bootstrap bg-light 색감 */
 border-radius: 999px;               /* pill 느낌 */
 transition: background 0.3s ease-in-out;
 overflow: hidden;
 padding-left:30px;
}

#churchNews .lat-item:last-child {
 margin-bottom: 0;
}

#churchNews .lat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #e0f2ff, #e8f6ff, #f0fbff);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  transform: scale(1.3);
  z-index: 0;
}

#churchNews .lat-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* 글자가 위에 있도록 설정 */
#churchNews .lat-item > * {
  position: relative;
  z-index: 1;
}

#churchNews .lt_info {
 min-width: 70px;
}
#churchNews .lat-item a{font-size:1.4em}
/* 모바일에서 제목 잘릴 때 말줄임표 */
#churchNews .notice-list .text-truncate a {
 display: inline-block;
 max-width: 100%;
 vertical-align: middle;
}

#churchNews .lt_more{display: none;}

#churchEvent .swiper-pagination-bullet{background-color: white!important}

.btn-outline-danger:hover {color:white!important}
/*은혜나눔*/
#graceNews .lat-item {
 padding: 0.75rem 0rem;
 border-bottom:1px solid #c3c3c3;
}
#graceNews .lat-item a{font-size:1.3em}


/* 콘텐츠 래퍼 */
#content-wrapper {
    margin-top:150px;
    min-height: 1200px;
    transition: all 0.2s ease-out 0;
    -webkit-transition: all 0.2s ease-out 0;
}


/* 아이콘 그리드 섹션 - 디자인 스타일 */
.icon-grid-section {
    background-color: var(--card-bg);
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 2.2em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.icon-item p {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.3;
}

/* 웰컴 섹션 */

.welcome-info h2 {
    font-size: 2.8em;
    font-weight: 900;
    color: var(--dark-gray);
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* CTA 버튼 */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--primary-red);
    color: var(--card-bg);
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background-color: #C0392B;
    transform: translateY(-2px);
}

.cta-button i {
    margin-left: 10px;
    font-size: 0.9em;
}

/* 스텝 카드 */
.step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
    border: 1px solid var(--light-gray);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.step-icon-outline {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.step-number {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.95em;
    color: var(--medium-gray);
    font-weight: 400;
    line-height: 1.4;
}

/* 패널 컨테이너 (사역소개) */
.panel-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    min-height: 400px;
}

.panel-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-white);
    display: block;
    height: 100%;
    min-height: 600px;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: transform 0.8s ease-in-out;
}

.panel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color var(--transition-speed) ease-in-out;
}

.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
    transition: transform var(--transition-speed) ease-in-out;
}

.panel-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.panel-description {
    font-size: 1em;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

/* 패널 호버 효과 */
.panel-item:hover .panel-bg {
    transform: scale(1.05);
}

.panel-item:hover::before {
    background-color: rgba(56, 167, 82, 0.75);
}

.panel-item:hover .panel-content {
    transform: translateY(-50px);
}

.panel-item:hover .panel-description {
    opacity: 1;
    transform: translateY(0);
}

/* 타이틀 섹션 */
section.title {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

section.title h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.04em;
    line-height: 1.2;
    position: relative;
}

section.title h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
    border-radius: 2px;
    opacity: 0.7;
}

section.title h3 {
    font-size: 1.4em;
    font-weight: 400;
    margin-top: 0;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 카드 목록 섹션 */
.card-list-section {
    background-color: var(--background-color);
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 10px;
}

.card-content p {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
    color: var(--medium-gray);
    flex-grow: 1;
}

.card-content .source {
    font-size: 0.8em;
    font-weight: 500;
    color: #d93025;
    margin-bottom: 5px;
    display: block;
}

/* 비전 가로 섹션 */
.vision-garo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.divider-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--accent-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.vision-garo img {
    margin: 0 30px;
    max-width: 250px;
    height: auto;
    display: block;
    border: 3px solid var(--main-green);
    padding: 5px;
    border-radius: 8px;
}


/* ============================================
   페럴렉스 섹션
   ============================================ */

.palax-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.palax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: 1;
}

.palax-gray {
    background-color: rgba(112, 99, 90, 0.55);
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8c70635a, endColorstr=#8c70635a);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8c70635a, endColorstr=#8c70635a);
    zoom: 1;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.content-overlay,
.content-overlay h1 {
    color: white;
}

/* 배경 비디오 */
#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/* ============================================
   푸터
   ============================================ */

#footer {
    background-color: #34495e;
    min-height: 200px;
    color: white;
    padding: 20px;
    font-size: 0.8em;
}


/* ============================================
   반응형 유틸리티 클래스
   ============================================ */

.show-sm,
.show-md,
.show-lg,
.show-xl,
.show-xxl,
.show-3xl,
.show-sm-in,
.show-md-in,
.show-lg-in,
.show-xl-in,
.show-xxl-in,
.show-3xl-in {
    display: none;
}


/* ============================================
   미디어 쿼리
   ============================================ */

/* 슬라이더 높이 조정 (1400px 이상) */
@media (min-width: 1400px) {
    #slider-wrap-7 {
        height: calc(100vh - 130px) !important;
    }
}

/* 모바일 메뉴 열기 버튼 (992px 이하) */
@media screen and (max-width: 992px) {
    .mobile-open {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: 0;
        top: 0;
        color: #fff;
        background: #4d525a;
        font-size: 28px;
        border: 0;
        border-right: 1px solid #444;
        line-height: 0;
        height: 60px;
        width: 60px;
        z-index: 2;
    }
}

/* 반응형 유틸리티 - 576px 이하 */
@media screen and (max-width: 576px) {
    .show-sm {
        display: block;
    }
    .show-sm-in {
        display: inline-block;
    }
    .hide-sm {
        display: none;
    }
}

/* 반응형 유틸리티 - 768px 이하 */
@media screen and (max-width: 768px) {
    .show-md {
        display: block;
    }
    .show-md-in {
        display: inline-block;
    }
    .hide-md {
        display: none;
    }
    
    /* 웰컴 섹션 */
    
    .welcome-info {
        text-align: center;
        padding: 10px 0;
    }
    .welcome-info h2 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    
    /* 스텝 카드 */
    .step-card {
        padding: 15px 10px;
        aspect-ratio: 1;
        justify-content: center;
    }
    
    
    .step-number {
        font-size: 0.95em;
        margin-bottom: 5px;
    }
    
    .step-description {
        font-size: 0.85em;
        line-height: 1.3;
    }
    
    /* 타이틀 섹션 */
    section.title {
        padding: 40px 15px;
    }
    section.title h1 {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    section.title h1::after {
        width: 40px;
        height: 2px;
        margin-top: 15px;
    }
    section.title h3 {
        font-size: 1.1em;
    }
    
    /* 카드 목록 */
    .card-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-item-image {
        height: 200px;
    }
    
    /* 캘리그래피 섹션 */
    .calligraphy-section {
        padding: 30px 15px;
    }
    .divider-section {
        max-width: 90%;
        margin-top: 30px;
    }
    .divider-text {
        font-size: 1em;
        padding: 0 15px;
    }
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 2em;
    }
    .icon-item p {
        font-size: 1em;
        font-weight: 400;
    }
}

/* 반응형 유틸리티 - 992px 이하 */
@media screen and (max-width: 992px) {
    .show-lg {
        display: block;
    }
    .show-lg-in {
        display: inline-block;
    }
    .hide-lg {
        display: none;
    }
    
    /* 헤더 조정 */
    #header-wrapper {
        height: 60px!important;
        padding-top:0!important;
    }
    #header .menu-section {
        justify-content: center;
    }
    #topnav.sf-menu {
        display: none;
    }
    .header_top {
        display: none;
    }
    #header .logo img {
        width: 56px;
        margin-top: 2px;
    }
    #header .logo span {
        padding-left: 10px;
        font-size: 1.2em;
    }
    #content-wrapper{margin-top:60px!important}
    #subTop{margin-top:0!important;height:300px!important}
    .breadcom h4 {margin-top:0;font-size:2.3em}
    /* 패널 컨테이너 */
    .panel-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 반응형 유틸리티 - 1200px 이하 */
@media screen and (max-width: 1200px) {
    .show-xl {
        display: block;
    }
    .show-xl-in {
        display: inline-block;
    }
    .hide-xl {
        display: none;
    }
    
    #topnav.sf-menu > li > a {
        padding: 12px 5px;
    }
    
    /* 카드 목록 */
    .card-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* 반응형 유틸리티 - 1400px 이하 */
@media screen and (max-width: 1400px) {
    .show-xxl {
        display: block;
    }
    .show-xxl-in {
        display: inline-block;
    }
    .hide-xxl {
        display: none;
    }
    
    #topnav.sf-menu > li > a {
        font-size: 0.9em;
    }
    #topnav.sf-menu > li > a:after {
        display: none;
    }
}

/* 반응형 유틸리티 - 1920px 이하 */
@media screen and (max-width: 1920px) {
    .show-3xl {
        display: block;
    }
    .show-3xl-in {
        display: inline-block;
    }
    .hide-3xl {
        display: none;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    
    /* 스텝 카드 - 작은 모바일에서도 2열 유지 */
    
    .step-card {
        padding: 12px 8px;
    }
    

    .step-number {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .step-description {
        font-size: 0.75em;
    }
    
    /* 웰컴 섹션 */

    .welcome-info {
        padding: 5px 0;
    }
    .welcome-info h2 {
        font-size: 2em;
        margin-bottom: 12px;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    /* 타이틀 섹션 */
    section.title h1 {
        font-size: 1.8em;
    }
    section.title h3 {
        font-size: 0.9em;
    }
    
    /* 카드 목록 */
    .card-content h3 {
        font-size: 1.1em;
    }
    .card-content p {
        font-size: 0.85em;
    }
    
    /* 캘리그래피 섹션 */
    .calligraphy-section img {
        max-width: 90%;
    }
    .divider-text {
        font-size: 0.9em;
        padding: 0 10px;
    }
}

/* 600px 이하 */
@media (max-width: 600px) {
    /* 비전 가로 섹션 */
    .vision-garo {
        padding: 0 10px;
    }
    .vision-garo img {
        max-width: 150px;
        margin: 0 10px;
    }
    .divider-line {
        height: 1px;
    }
    
    /* 패널 컨테이너 */
    .panel-container {
        grid-template-columns: 1fr;
    }
    .panel-item {
        min-height: 300px;
    }
    .panel-item:hover .panel-content {
        transform: translateY(-30px);
    }
}
