/* Features */
.features-icons {padding-top: 5rem; padding-bottom: 5rem;}
.features-icons-icon {font-size: 3rem;}
.feature h3 {font-size: 1.4rem;}
.feature p {font-size: 1rem;}

/* Article List */
.intro h2 {font-size: 1.4rem;}
.articles {text-align: center;}
.articles h4 {font-size: 2rem; padding-top: 15px; color: #000; font-weight: 600;}
.action {font-size: 0.9rem; color: #4f86c3;}
.articles .item {margin-bottom: 20px; text-align: center;}

/* showcase */
.showcase .item {background-color: #fff; margin-right: 0; margin-left: 0;}
.showcase .showcase-img {min-height: 30rem; background-size: cover;}
.showcase-text {padding: 10rem 8rem;}
.showcase h2 {font-size: 1.2rem;padding-bottom: 1.6rem;}
.showcase p {font-size: .9rem;}

/* Testimonial */
.testimonial-item img {max-width: 12rem; box-shadow: 0 5px 5px 0 #adb5bd;}
.testimonials h2 {font-size: 1.4rem;}
.testimonial-item h5 {font-size: 1.1rem; font-weight: 600;}
.testimonial-pad {padding: 3rem;}

/* call-to-action */
.call-to-action {position: relative; background-color: #343a40; background-size: cover; padding-top: 7rem; padding-bottom: 7rem;}
.call-to-action .overlay { position: absolute; background-color: #212529; height: 100%; width: 100%; top: 0; left: 0; opacity: .3;}
.call-to-action h2 {font-size: 1.4rem;}

/* Responsive for showcase */
@media (max-width: 978px) {
	.showcase-text {padding: 3rem;}	
	.showcase .text-end {padding-bottom: 0;}
}

/* 1. 모바일 기본 스타일 (모든 기기 적용) */
/* @media (max-width: 768px) { */
@media screen and (min-width: 300px) and (max-width: 768px){
  
     
	header.masthead {text-align: center; color: #fff; background-repeat: no-repeat; background-attachment: scroll; background-position: 50%; background-size: cover;min-height: 250px; max-height: 380px;} 
	/* header.masthead .intro-text {padding-top: 105px; padding-bottom: 40px; padding-left: 2%;  padding-right: 2%; } */
	header.masthead .intro-text {padding-top: 70px; padding-bottom: 20px; padding-left: 2%;  padding-right: 2%;  border:0px solid white; }
	header.masthead .intro-text .h4_custom {padding-bottom: 20px; font-family: 'Noto Sans KR', sans-serif !important; font-size: 11px !important; line-height: 1.4; color: #ffffff !important; font-style: normal !important; width: 99%; max-width:768px;text-align:left; border:0px solid red; }
	header.masthead .intro-text .intro-lead-in {margin-left: 10px; width: 99%; max-width:768px;text-align:left;}
	header.masthead .intro-text .intro-lead-in .h2_custom {font-family: 'Noto Sans KR', sans-serif !important; font-size: 12px !important; line-height: 1.4; color: #ffffff !important; font-style: normal !important; width: 99%; max-width:768px;text-align:left; border:0px solid red; }
	header.masthead .intro-text .intro-heading {font-size: 24px; font-weight: 700; line-height: 24px; margin-bottom: 40px;}

}

.responsive-box {
    width: 100%;       /* 화면 너비를 꽉 채움 */
    padding: 0;        /* 내부 여백 제거 */
    margin: 0;         /* 외부 여백 제거 */
    overflow: hidden;  /* 혹시 모를 이미지 삐져나옴 방지 */
}

/* 이미지 스타일 */
.responsive-box img {
    width: 100%;       /* 부모 너비에 맞춤 */
    height: auto;      /* 가로세로 비율 유지 (가장 중요) */
    display: block;    /* 이미지 하단에 생기는 미세한 간격 제거 */
}


/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
	/*.showcase-text {padding: 3rem;}	
	.showcase .text-end {padding-bottom: 0;}
	*/
	/* Masthead */
     header.masthead {         height: 90vh !important; 
        max-height: 529px !important;  background-position: 50% 90%; min-height: 429px;  max-height: 650px }
	header.masthead .intro-text {padding-top: 90px; padding-bottom: 40px; padding-left: 5%;  padding-right: 5%;border:0px solid white;}
      header.masthead .intro-text .h4_custom {padding-top: 20px !important; padding-bottom: 0px  !important ;font-family: 'Noto Sans KR', sans-serif !important; font-size: 35px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

	header.masthead .intro-text .intro-lead-in {margin-left: 100px; width: 90%; max-width:1800px;text-align:left !important;border:0px solid yellow;}
	
	header.masthead .intro-text .intro-lead-in .h2_custom {padding-top: 45px !important;font-family: 'Noto Sans KR', sans-serif !important; font-size: 45px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

header.masthead .intro-text .intro-heading {font-size: 32px; font-weight: 700; line-height: 32px; margin-bottom: 50px;}
}


/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px) {
/* Masthead  */
	/* header.masthead {text-align: center; color: #fff; background-repeat: no-repeat; background-attachment: scroll; background-position: 50% 90%; background-size: cover;min-height: 690px;  max-height: 650px } */
     header.masthead { height: 90vh !important; 
        max-height: 929px !important;  background-position: 50% 90%; min-height: 429px;  max-height: 650px } 
      header.masthead-2 {         /* 650px이라는 최소 높이가 텍스트를 아래로 밀어낼 수 있으므로 조정 */
        min-height: 450px !important; 
        display: flex !important;
        align-items: flex-start !important; /* 중앙 정렬을 해제하고 상단으로 밀어올림 */ 
        border:0px solid white;
        }   
        
	header.masthead .intro-text {padding-top: 270px; padding-bottom: 40px; padding-left: 5%;  padding-right: 5%;border:0px solid white;}
      header.masthead .intro-text .h4_custom {padding-top: 20px !important; padding-bottom: 0px  !important ;font-family: 'Noto Sans KR', sans-serif !important; font-size: 35px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left;border:0px solid red;}

	header.masthead .intro-text .intro-lead-in {font-family: NotoSansKR; font-size: 46px; font-weight: bold; font-stretch: normal; font-style: normal; line-height: 1.4; width: 90%; max-width:1900px; text-align:left !important; border:0px solid yellow;}
	
	header.masthead .intro-text .intro-lead-in .h2_custom {padding-top: 90px !important;font-family: 'Noto Sans KR', sans-serif !important; font-size: 45px !important; color: #ffffff !important; font-style: normal !important; width: 90%; max-width:1800px;text-align:left; border:0px solid red;}
header.masthead .intro-text .intro-heading {font-family: 'Noto Sans KR'; font-size: 21px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.52; letter-spacing: normal;
  text-align: left; margin-bottom: 50px; border:0px solid red;}
header.masthead .intro-text .intro-heading .item {font-family: 'Noto Sans KR'; font-size: 21px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.52; letter-spacing: normal;
  text-align: left; margin-bottom: 50px; border:0px solid red;}
  
header.masthead .intro-text .intro-heading .normal-text {font-style: normal !important; } 

header.masthead .intro-text .intro-heading .extra {padding: 0px 100px 9px 38px; border: 1px solid white; font-style: normal !important; } 
header.masthead .intro-text .intro-heading .extra .item {/* padding: 0px 100px 9px 38px;*/ border-bottom: 2px solid white !important; font-style: normal !important; } 

/* header.masthead .intro-text .intro-heading .environment .extra-text { font-family: NotoSansKR; font-size: 18px;  line-height: 1.78;   letter-spacing: normal; text-align: left; } */


  .ext-item {
    display: flex;                /* 가로로 배치 */
    align-items: center;          /* 텍스트와 기호 수직 중앙 정렬 */
    gap: 20px;                    /* 요소 사이의 간격 일괄 지정 */
    /* font-family:  NotoSansKR; */
	border:0px solid white;
  }

   /* 1. 컨테이너: 3개 요소를 가로로 나란히 배치 */ 
  .line-container {
        display: flex;                /* Flexbox 활성화 */
        justify-content: left;      /* 가로 중앙 정렬 (선택사항) */
        gap: 20px;                    /* 3개 줄 사이의 간격 */
        /* background-color: #333; */      /* 배경색(선이 보이도록 어둡게) */
        padding: 0px;
    }

    /* 2. 가로줄 스타일 */
    .white-line {
        width: 147px;                 /* 폭 247px 고정 */
        height: 0;                    /* 높이는 0 */
        border-top: 2px solid white;  /* 2px 두께의 흰색 실선 */
        box-sizing: border-box;       /* 보더가 폭 계산에 포함되도록 */
    }
#footer { /* width: 1920px; */
  height: 419px;
  /* margin: 817px 0 0; */
  padding-top: 100px !important; 
  padding-left: 15%; 
  padding-right: 15%; 
  padding-bottom: 50px;
  background-color: #181818; 
  border: 0px solid red;
   }    

/* footer 내부의 copy 클래스 배경색 강제 지정 */
#footer .copy.bg-dark {
    background-color: #181818 !important;
}

 .container-2 {margin-top:70px; margin-bottom:20px;  margin-left: 7%; 
  margin-right: 7%; padding:0 px; border: 0px solid red;}

  .col-md-2{
    flex: 0 0 18.3333%;
    max-width: 18.3333%;
  }

  .col-md-2-2 {
    flex: 0 0 18.3333%;
    max-width: 18.3333%;
  }
  
}



/* 1. 모바일 기본 스타일 (모든 기기 적용) */
@media screen and (min-width: 300px) and (max-width: 768px){

}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){

}

/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px) {

  .paral-sub {
    background-attachment: fixed;
    background-size: cover;
    /* background-position: 50% 50%; */
    background-position: top center !important;    
    
    /* 높이를 이미지 사이즈인 500px로 고정 */
    height: 500px !important;
    
    /* 내부의 텍스트가 있다면 세로 중앙 정렬을 위해 추가 */
    line-height: 500px; 
  }

 /* aside.php 의 상단 images  */ 
 .text-center{
  margin-bottom:15px;
 }

 /* aside.php 의 height  */ 
 .d-lg-block {
 min-height: 600px; 
 }

} 


/* 1. 모바일 기본 스타일 index.php 노란색박스 */
/* 사랑의 봉사단을 모집합니다.  */
@media screen and (min-width: 300px) and (max-width: 768px){
    .boxtext1, .boxtext2 {
        font-family: 'Noto Sans KR';
        font-size: 16px !important;
        color: white;
        display: block !important;
        text-align: center !important;
        word-break: keep-all !important;
    }
    /* 황색박스 row를 세로 배치로 */
    .container-fluid[style*="fbac02"] .row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 15px 0 !important;
    }
    .container-fluid[style*="fbac02"] .col-12 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    .boxtext1 {
        font-size: 18px !important;
        font-weight: bold !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }
    .boxtext2 {
        font-size: 16px !important;
        display: inline !important;
    }
    .banner-btn {
        float: none !important;
        display: inline-block !important;
        margin: 0 !important;
    }
}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
.boxtext1 .boxtext2 {font-family: 'Noto Sans KR'; font-size: 20px; color:white;}
}

/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px) {
.boxtext1 .boxtext2 {font-family: 'Noto Sans KR'; font-size: 24px; color:white;}
}


 
   
/* QuickLink 공통 스타일 */
.quick-link-item {
    /*border: 1px solid rgba(255, 255, 255, 0.5); */ /* 반투명 흰색 테두리 */
    border: 1px solid #ffffff;
    border-radius: 30px; /* 라운드 처리 (값을 높이면 더 둥글어짐) */
    padding: 10px 10px; 
    transition: all 0.3s ease; /* 부드러운 효과 */
    cursor: pointer;
}
.text-white {
	font-family:  NotoSansKR;
	font-size: 1.1em
}


/* 마우스를 올렸을 때 효과 */
.quick-link-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px); /* 살짝 위로 떠오르는 효과 */
}

/* 링크 텍스트 밑줄 제거 */
.quick-link-item a {
    text-decoration: none;
    display: block; /* 영역 전체 클릭 가능하게 */
}


/* [수정] top-info-bar → head.php navbar dropdown으로 통합됨. position:fixed 충돌 제거.
.top-info-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 50px; 
    background: #f8f9fa; z-index: 1031; border-bottom: 1px solid #ddd;
}
*/
/* dropdown 헤더 안 연락처 텍스트 스타일 */
.info-item { padding-right: 15px; font-size: 13px; }
.info-item a { color: #666; text-decoration: none; }


/* 슬라이드 캡션 스타일 (반응형) */
.custom-main-caption { text-align: left !important; left: 10% !important; bottom: 25% !important; }
.main-slide-title { font-family: 'Noto Sans KR'; font-weight: bold; line-height: 1.2; color: white; }
.sub-accent-title { color: #ef8840 !important; font-weight: bold; }

/* PC 모드 글자 크기 */
@media (min-width: 1024px) {
/*    .main-slide-title { font-size: 39px !important;  -webkit-text-stroke: 1px yellow; */ /* 1px 두께의 노란색 외곽선 */}
/*    .sub-accent-title { font-size: 32px !important;  -webkit-text-stroke: 1px white; */ /* 1px 두께의 하얀색 외곽선 */}
/*    .main-slide-desc span { font-size: 24px; color:white;  -webkit-text-stroke: 1px yellow; *//* 1px 두께의 노란색외곽선 */ }
}

/* 모바일 모드 글자 크기 보정 (화면 밀림 방지) */
@media (max-width: 767px) {
    .main-slide-title { font-size: 24px !important;   -webkit-text-stroke: 0px yellow; /* 1px 두께의 노란색 외곽선 */}
    .sub-accent-title { font-size: 16px !important;   -webkit-text-stroke: 0px white; /* 1px 두께의 하얀색 외곽선 */}
    .main-slide-desc span { font-size: 16px;   -webkit-text-stroke: 0px yellow; /* 1px 두께의 노란색 외곽선 */}
}

/* 글자 크기 */
/* 1. 모바일 기본 스타일 (모든 기기 적용) */
 @media screen and (min-width: 300px) and (max-width: 768px) { 
    .caption-sub-title { font-family:'Noto Sans KR'; font-size: 15px !important; } /* 모바일에서 겹치지 않게 축소 */
     /* 모바일에서  황색박스의 내용이 위로 벗어나는 현상 */
     .carousel-caption { bottom: 15% !important;  /* 캡션을 슬라이드 안으로 올림 */       
        width: 85% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        left: 5% !important;
        right: 5% !important; }
     
    .carousel-caption2 { font-family:'Noto Sans KR'; font-size: 11px !important; border:0px solid red !important;}
    .carousel-caption3 { font-family:'Noto Sans KR'; font-size: 13px !important; border:0px solid white !important;}
    .carousel-caption4 { font-family:'Noto Sans KR'; font-size: 12px !important; letter-spacing: -1.2;  !important;}
}

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .caption-sub-title { font-family:'Noto Sans KR'; font-size: 25px !important; color: #ef8840 !important; }
    .carousel-caption2 { font-family:'Noto Sans KR'; font-size: 23px !important; }
    .carousel-caption3 { font-family:'Noto Sans KR'; font-size: 21px !important; }
    .carousel-caption4 { font-family:'Noto Sans KR'; font-size: 19px !important; }
}

/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px){
    .caption-sub-title { font-family:'Noto Sans KR'; font-size: 32px !important; color: #ef8840 !important; }
    .carousel-caption2 { font-family:'Noto Sans KR'; font-size: 39px !important; }
    .carousel-caption3 { font-family:'Noto Sans KR'; font-size: 30px !important; }
    .carousel-caption4 { font-family:'Noto Sans KR'; font-size: 19px !important; }
}
/* 슬라이드 배경 이미지 최적화 */
/* 1. 모바일 기본 스타일 (모든 기기 적용) */
@media screen and (min-width: 300px) and (max-width: 768px) {
#myCarousel .carousel-item {
    width: 100%;
    /* height: 70vh !important; */
    /* 모바일에서 황색박스가 보이지 않아 */
    height: 55vh !important;
    /* max-height: 700px !important; */
    max-height: 500px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    }
} /* 모바일 media 닫기 */

/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
#myCarousel .carousel-item {
    width: 100%;
    height: 80vh !important; /* 화면 높이의 90% 고정 */
    max-height: 800px !important; /* 대표님 설정값 유지[cite: 5] */
    background-size: cover !important; /* 이미지를 화면에 꽉 채움 */
    background-position: center center !important; /* 이미지 중앙 정렬 */
    background-repeat: no-repeat !important; /* 이미지 반복 금지 */
    }
}

/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px){
#myCarousel .carousel-item {
    width: 100%;
    height: 90vh !important; /* 화면 높이의 90% 고정 */
    max-height: 929px !important; /* 대표님 설정값 유지[cite: 5] */
    background-size: cover !important; /* 이미지를 화면에 꽉 채움 */
    background-position: center center !important; /* 이미지 중앙 정렬 */
    background-repeat: no-repeat !important; /* 이미지 반복 금지 */
    }
}

/* 1. 모바일 기본 스타일 (모든 기기 적용) */
@media screen and (min-width: 300px) and (max-width: 768px) {
.banner-btn {
    float: none !important;   /* 모바일에서 float 해제 */
    display: block !important;
    width: fit-content;
    margin: 8px auto 0 auto !important;  /* 중앙 정렬 */
    border: 1px solid #252525;
    padding: 12px 20px;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    background: #252525;
    border-radius: 5px;
   }
}


/* 2. 태블릿 화면 (768px 이상 1024 이하) */
@media screen and (min-width: 768px) and (max-width: 1024px){
.banner-btn {
    float: right;
    border: 1px solid #252525;
    display: inline-block;
    padding: 12px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    background: #252525;
    border-radius: 5px;
   }
}




/* 3. 데스크톱 화면 (1024px 이상) */
@media (min-width: 1024px){
.banner-btn {
    float: right;
    border: 1px solid #252525;
    display: inline-block;
    padding: 12px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    background: #252525;
    border-radius: 5px;
   }
   

/*--------------------------------*/
/* 7.Services Area
/*--------------------------------*/
.services-area{
    background: #fff;
}
.services-all{
	margin-top: -30px;
}
.single-services {
    box-shadow: none;
    margin-top: 30px;
    position: relative;
    z-index: 1;
    border: 1px solid #fbac02;
    padding: 20px 10px;
}
.service-images {
    width: 60px;
    float: left;
    height: 60px;
    font-size: 26px;
    color: #fff;
    background: #fbac02;
    margin-right: 15px;
    line-height: 56px;
    text-align: center;
    border: 1px solid #fbac02;
    border-radius: 50%;
}
.services-all .service-content {
    padding-left: 75px;
}
.single-services .service-content h4 {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 600;
}
.single-services .service-content h4 a {
    color: #444;
}
.single-services .service-content h4 a:hover {
    color: #fbac02;
}
.single-services .service-content p{
    color:#444;
}
.single-services::after{
    background: #fbac02;
    border: 1px solid #fbac02;
    width: 100%;
    height: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}
.single-services:hover::after{
    transition: 0.4s;
}
.single-services:hover .service-images::after {
    position: absolute;
    content: "";
    background: #fbac02;
    width: 2px;
    height: 60%;
    left: 11%;
    top: 20%;
    z-index: -1;
}
.single-services:hover .service-images{
    margin-top: 30px;
	color: #fbac02;
    background: #fff;
    border: 2px solid #fbac02;
}


/*----------------------------------------*/
/* 10.Counter Area
/*----------------------------------------*/
.counter-area {
    background: rgba(0, 0, 0, 0) url(/images/background/bg2-2.jpg) no-repeat scroll top center / cover;
    width: 100%;
    height: 100%;
	max-height: 500px;
}
.display-table{
	width: 100%;
	height: 100%;
	display: table;
}
.display-table-cell{
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
}
.parallax-bg{
    position:relative;
}
.parallax-bg:before{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:#000;
    opacity:.6;
    content:"";
}
.counter-inner h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 40px !important; /* 40px */  
    line-height: 60px;
    border: 0px solid red;
}
.fun-content {
    overflow: hidden;
    display: block;
}
.fun_text > span {
    color: #fff;
    display: inline-block;
    font-size: 40px;
    padding-bottom: 10px;
	line-height: 48px;
	font-weight: 700;
}
.fun_text {
    float: left;
    width: 33.33%;
}
.fun_text > h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.sub-heading {
	font-family: 'Noto Sans KR';
	text-align: center;
	line-height: 2.9;
    font-size: 40px !important; /* 1.3rem;  원하는 크기로 조정 */
    font-weight: 700;
    color: #333;
    margin-bottom: 40px !important;
    } 
.sub-heading-white {
	text-align: center;
	line-height: 2.9;
	font-family: 'Noto Sans KR';
    font-size: 40px !important ;  /* 1.3rem;  원하는 크기로 조정 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px !important;
    }  
   
}

