/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* style.css 맨 위에 추가 */
body {
  background-color: #f5f5f5;
  color: #4e4e4e;
  font-family: 'Open Sans', 'Montserrat', 'Poppins', Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #4e4e4e;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e1e1e;
}

a {
  color: #1e1e1e;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}
a:hover {
  color: #0078ff;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.p-r {
  position: relative;
}

.color-a {
  text-decoration: none;
  color: #0078ff;
}

.color-d {
  color: #f5f5f5;
}

.color-text-a {
  text-decoration: none;
  color: #4e4e4e;
}

.box-shadow, .card-blog, .work-box, .service-box, .paralax-mf {
  box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

.box-shadow-a, .button:hover {
  text-decoration: none;
  box-shadow: 0 0 0 4px #cde1f8;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
}

.display-6 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.avatar {
  width: 32px;
  height: 32px;
  margin-right: 4px;
  overflow: hidden;
}

.bg-image {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}
@media (max-width: 1024px) {
  .bg-image {
    background-attachment: scroll;
  }
}

.overlay-mf {
  background-color: #0078ff;
}

.overlay-mf {
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: 0.7;
}

.paralax-mf {
  position: relative;
  padding: 8rem 0;
}

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/*--/ Sections /--*/
.sect-4 {
  padding: 4rem 0;
}

.sect-pt4 {
  padding-top: 4rem;
}

.sect-mt4 {
  margin-top: 4rem;
}

/*--/ Title s /--*/
.title-s {
  font-weight: 600;
  color: #1e1e1e;
  font-size: 1.1rem;
}

/*--/ Title A /--*/
.title-box {
  margin-bottom: 4rem;
}

.title-a {
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
}

.subtitle-a {
  text-decoration: none;
  color: #4e4e4e;
}

.line-mf {
  width: 40px;
  height: 5px;
  background-color: #0078ff;
  margin: 0 auto;
}

/*--/ Title Left /--*/
.title-box-2 {
  margin-bottom: 3rem;
}

.title-left {
  font-size: 2rem;
  position: relative;
}
.title-left:before {
  content: "";
  position: absolute;
  height: 3px;
  background-color: #0078ff;
  width: 100px;
  bottom: -12px;
}

/*------/ Box /------*/
.box-pl2 {
  padding-left: 2rem;
}

.box-shadow-full {
  padding: 3rem 1.25rem;
  position: relative;
  background-color: #fff;
  margin-bottom: 3rem;
  z-index: 2;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .box-shadow-full {
    padding: 3rem;
  }
}

/*------/ Socials /------*/
.socials {
  padding: 1.5rem 0;
}
.socials ul li {
  display: inline-block;
}
.socials .ico-circle {
  height: 40px;
  width: 40px;
  font-size: 1.2rem;
  border-radius: 50%;
  line-height: 1.6;
  margin: 0 15px 0 0;
  box-shadow: 0 0 0 3px #0078ff;
  transition: all 500ms ease;
}
.socials .ico-circle:hover {
  background-color: #0078ff;
  color: #fff;
  box-shadow: 0 0 0 3px #cde1f8;
  transition: all 500ms ease;
}

/*------/ Ul resect /------*/
.ul-resect, .widget-tags ul, .widget-sidebar .list-sidebar, .box-comments .list-comments, .blog-wrapper .post-meta ul, .list-ico, .socials ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-ico {
  line-height: 2;
}
.list-ico span {
  color: #0078ff;
  margin-right: 10px;
}

/*------/ Ico Circle /------*/
.ico-circle {
  height: 100px;
  width: 100px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px #0078ff;
  display: block;
}

/*------/ Owl Carousel /------*/
.owl-theme .owl-dots {
  text-align: center;
  margin-top: 18px;
}
.owl-theme .owl-dots .owl-dot {
  display: inline-block;
}
.owl-theme .owl-dots .owl-dot span {
  width: 18px;
  height: 7px;
  margin: 5px 5px;
  background: #cde1f8;
  border: 0px solid #cde1f8;
  display: block;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
}
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #cde1f8;
}
.owl-theme .owl-dots .owl-dot.active span {
  background-color: #1B1B1B;
  width: 25px;
}

/*--/ Scrolltop s /--*/
.scrolltop-mf {
  position: relative;
  display: none;
}
.scrolltop-mf span {
  z-index: 999;
  position: fixed;
  width: 42px;
  height: 42px;
  background-color: #0078ff;
  opacity: 0.7;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  top: auto;
  left: auto;
  right: 30px;
  bottom: 50px;
  cursor: pointer;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #298eff;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*------/ Prelaoder /------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #0078ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

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

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*------/ Button /------*/
.button {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-size: 1rem;
  border-radius: 0.3rem;
  border: 1px solid transparent;
  transition: all 500ms ease;
  cursor: pointer;
}
.button:focus {
  outline: 0;
}
.button:hover {
  background-color: #0062d3;
  color: #fff;
  transition: all 500ms ease;
}

.button-a {
  text-decoration: none;
  background-color: #0078ff;
  color: #fff;
  border-color: #cde1f8;
}

.button-big {
  padding: 0.9rem 2.3rem;
  font-size: 1.2rem;
}

.button-rouded {
  border-radius: 5rem;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}
#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 1px;
}
#header .logo a {
  color: #fff;
}
#header .logo img {
  max-height: 40px;
}
#header.header-scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 12px 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar > ul > li {
  white-space: nowrap;
  padding: 10px 0 10px 30px;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0.4px;
  position: relative;
  text-transform: uppercase;
}
.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  width: 0;
  background-color: #fff;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible;
  width: 80%;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #fff;
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 30px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #4e4e4e;
}
.navbar .dropdown ul a i {
  font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #0078ff;
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(78, 78, 78, 0.9);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile > ul > li {
  padding: 0;
}
.navbar-mobile a:hover:before, .navbar-mobile li:hover > a:before, .navbar-mobile .active:before {
  visibility: hidden;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #4e4e4e;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #0078ff;
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #0078ff;
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  height: 100vh;
  position: relative;
  color: #fff;
}
.hero .hero-content {
  text-align: center;
  position: absolute;
}
.hero .overlay-itro {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: 0.9;
}
.hero .hero-title {
  color: #fff;
  font-weight: 600;
  font-size: 3rem;
}
@media (min-width: 768px) {
  .hero .hero-title {
    font-size: 4.5rem;
  }
}
.hero .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .hero .hero-subtitle {
    font-size: 2.5rem;
  }
}
.hero .text-slider-items {
  display: none;
}

.hero-single {
  height: 350px;
}
.hero-single .hero-content {
  margin-top: 30px;
}
.hero-single .hero-title {
  text-transform: uppercase;
  font-size: 3rem;
}
@media (min-width: 768px) {
  .hero-single .hero-title {
    font-size: 3.5rem;
  }
}
.hero-single .breadcrumb {
  background-color: transparent;
  color: #0078ff;
}
.hero-single .breadcrumb .breadcrumb-item:before {
  color: #cde1f8;
}
.hero-single .breadcrumb .breadcrumb-item.active {
  color: #cde1f8;
}
.hero-single .breadcrumb a {
  color: #fff;
}
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-mf .box-shadow-full {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* 사진 영역 중앙정렬 */
.about-mf .about-img {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 사진 크게 & 정사각형 */
.about-mf .about-img img {
  width: 220px;    
  height: 220px;    
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  margin-left: 0;
  background: #f3f4f6;
  display: block;
}

/* 모바일: 더 작게 */
@media (max-width: 767px) {
  .about-mf .about-img img {
    width: 110px;
    height: 110px;
  }
}

@media (min-width: 767px) {
  .about-mf .box-pl2 {
    margin-top: 3rem;
    padding-left: 0rem;
  }
}

.about-info {
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 24px;
}

.about-info .title-s {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1e1e1e;
}

.about-info ul {
  margin: 0 0 12px 16px;
  padding-left: 18px;
  list-style: disc;
  color: #4e4e4e;
}

.about-info hr {
  margin: 16px 0;
}

.about-info .btn-block {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
}

/* 반응형 보정 (모바일) */
@media (max-width: 767px) {
  .about-info {
    margin-bottom: 32px;
  }
  .about-info .btn-block {
    font-size: 0.95rem;
    padding: 8px 0;
  }
}

/* 
.skill-mf span {
  color: #4e4e4e;
}
.skill-mf .progress {
  background-color: #cde1f8;
  margin: 0.5rem 0 1.2rem 0;
  border-radius: 0;
  height: 0.7rem;
}
.skill-mf .progress .progress-bar {
  height: 0.7rem;
  background-color: #0078ff;
} */

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.service-box {
  background-color: #fff;
  padding: 2.5rem 1.3rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}
.service-box:hover .ico-circle {
  transition: all 500ms ease;
  color: #fff;
  background-color: #0078ff;
  box-shadow: 0 0 0 10px #cde1f8;
}
.service-box .service-ico {
  margin-bottom: 1rem;
  color: #1e1e1e;
}
.service-box .ico-circle {
  transition: all 500ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-box .ico-circle i {
  line-height: 0;
  font-size: 40px;
}
.service-box .s-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem 0;
}
.service-box .s-description {
  color: #4e4e4e;
}

/*--------------------------------------------------------------
# Counter
--------------------------------------------------------------*/
.counter-box {
  color: #fff;
  text-align: center;
}
@media (min-width: 577px) {
  .counter-box {
    margin-bottom: 1.8rem;
  }
}

.counter-ico {
  margin-bottom: 1rem;
}
.counter-ico .ico-circle {
  height: 60px;
  width: 60px;
  line-height: 1.5;
  box-shadow: 0 0 0 10px #cde1f8;
}

.counter-num .counter {
  font-size: 2rem;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.work-box {
  margin-bottom: 2rem;   /* 3rem → 2rem(여백 줄이기) */
  background-color: #fff;
  /* min-height: 410px;  // 필요하면 추가 */
  /* max-width: 370px;   // 필요하면 추가 */
  display: flex;
  flex-direction: column;
  /* box-shadow, border-radius 등 원하는 스타일 추가 가능 */
}

/* 카드 이미지 영역 */
.work-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 270px;
  background: #fff;
}
.work-img img {
  transition: all 1s;
  width: 80%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

/* 카드 콘텐츠 패딩 최소화 */
.work-content {
  padding: 1rem 1rem 1rem 1rem;   /* 2rem 3% 1rem 4% → 1rem 1rem 1rem 1rem */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.w-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/* 반응형에서 2줄(모바일) 대응 */
@media (max-width: 991px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .work-box {
    margin-bottom: 1.3rem;
  }
}
@media (max-width: 600px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .work-img {
    min-height: 160px;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-box {
  color: #fff;
  text-align: center;
}
.testimonial-box .author-test {
  margin-top: 1rem;
}
.testimonial-box .author-test img {
  margin: 0 auto;
}
.testimonial-box .author {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 1rem 0;
  display: block;
  font-size: 1.4rem;
}
.testimonial-box .comit {
  font-size: 2rem;
  color: #0078ff;
  background-color: #fff;
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .testimonial-box .description {
    padding: 0 5rem;
  }
}
@media (min-width: 992px) {
  .testimonial-box .description {
    padding: 0 8rem;
  }
}
@media (min-width: 1200px) {
  .testimonial-box .description {
    padding: 0 13rem;
  }
}

.swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.footer-paralax {
  padding: 4rem 0 0 0;
}

.contact-mf {
  margin-top: 4rem;
}
@media (min-width: 767px) {
  .contact-mf .box-pl2 {
    margin-top: 3rem;
    padding-left: 0rem;
  }
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}
.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}
.php-email-form input, .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}
.php-email-form input:focus, .php-email-form textarea:focus {
  border-color: #0078ff;
}
.php-email-form input {
  padding: 10px 15px;
}
.php-email-form textarea {
  padding: 12px 15px;
  margin-bottom: 0;
}
.php-email-form button[type=submit] {
  background: #0078ff;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}
.php-email-form button[type=submit]:hover {
  background: #3393ff;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
@media (min-width: 767px) {
  .card-blog {
    margin-bottom: 3rem;
  }
}
.card-blog .card-body {
  position: relative;
}
.card-blog .card-category-box {
  position: absolute;
  text-align: center;
  top: -16px;
  left: 15px;
  right: 15px;
  line-height: 25px;
  overflow: hidden;
}
.card-blog .card-category {
  display: inline-block;
  color: #fff;
  padding: 0 15px 5px;
  overflow: hidden;
  background-color: #0078ff;
  border-radius: 4px;
}
.card-blog .card-category .category {
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1px;
  margin-bottom: 0;
}
.card-blog .card-title {
  font-size: 1.3rem;
  margin-top: 0.6rem;
}
.card-blog .card-description {
  color: #4e4e4e;
}
.card-blog .post-author {
  display: inline-block;
}
.card-blog .post-date {
  color: #4e4e4e;
  display: inline-block;
  float: right;
}

/*--------------------------------------------------------------
# Blog Single
--------------------------------------------------------------*/
.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
  padding: 2rem;
  background-color: #fff;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .post-box,
.form-comments,
.box-comments,
.widget-sidebar {
    padding: 3rem;
  }
}

.blog-wrapper .article-title {
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .blog-wrapper .article-title {
    font-size: 1.9rem;
  }
}
.blog-wrapper .post-meta {
  margin: 1rem 0;
}
.blog-wrapper .post-meta ul {
  border-left: 4px solid #0078ff;
  margin-top: 1rem;
}
.blog-wrapper .post-meta ul li {
  display: inline-block;
  margin-left: 15px;
}
.blog-wrapper .post-meta ul a {
  color: #0078ff;
}
.blog-wrapper .post-meta ul span {
  color: #1e1e1e;
}
.blog-wrapper .blockquote {
  border-left: 4px solid #0078ff;
  padding: 18px;
  font-style: italic;
}

/*------/ Comments /------*/
.box-comments .list-comments li {
  padding-bottom: 40px;
}
.box-comments .list-comments .comment-avatar {
  display: table-cell;
  vertical-align: top;
}
.box-comments .list-comments .comment-avatar img {
  width: 80px;
  height: 80px;
}
.box-comments .list-comments .comment-author {
  font-size: 1.3rem;
}
@media (min-width: 768px) {
  .box-comments .list-comments .comment-author {
    font-size: 1.5rem;
  }
}
.box-comments .list-comments .comment-details {
  display: table-cell;
  vertical-align: top;
  padding-left: 25px;
}
.box-comments .list-comments a {
  color: #0078ff;
}
.box-comments .list-comments span {
  color: #1e1e1e;
  font-style: italic;
}
.box-comments .comment-children {
  margin-left: 40px;
}

/*------/ Sidebar /------*/
.widget-sidebar .sidebar-title {
  font-size: 1.6rem;
  font-weight: 600;
  border-left: 5px solid #0078ff;
  padding-left: 15px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.widget-sidebar .list-sidebar li {
  position: relative;
  padding: 6px 0 6px 24px;
}
.widget-sidebar .list-sidebar li:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  left: 0;
  background-color: #0078ff;
  top: 20px;
}

.sidebar-search input {
  background-color: #fff;
  border-radius: 0;
  transition: all 0.5s ease-in-out;
}
.sidebar-search .btn-search {
  background-color: #0078ff;
  border-color: #0078ff;
  border-radius: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.widget-tags ul li {
  display: inline-block;
  background-color: #0078ff;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
  border-radius: 15px;
}
.widget-tags ul li a {
  color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  text-align: center;
  color: #fff;
  padding: 25px 0;
  background: #0062d3;
}
footer .copyright {
  margin-bottom: 0.3rem;
}
footer .credits {
  margin-bottom: 0;
}
footer .credits a {
  color: #fff;
}

/* ------/ Portfolio 통일 정사각형 이미지 /------ */
.work-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.work-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: all 1s;
}

.work-img {
  position: relative;
  overflow: hidden;
}
.work-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(20, 30, 50, 0.72); 
  color: #fff;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s;
  padding: 16px;
}
.work-box {
  /* 기존 스타일 + 아래 추가/수정 */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.work-img {
  width: 100%;            /* work-box의 100% */
  aspect-ratio: 1 / 1;    /* 정사각형 */
  max-width: 100%;        /* 부모 박스 꽉 채움 */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-img img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.work-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30, 40, 60, 0.72);
  color: #fff;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  transition: opacity 0.3s;
  z-index: 2;
}
.work-img:hover .work-overlay {
  opacity: 1;
}

.work-content {
  flex: 1 1 auto;
  padding: 2rem 3% 1rem 4%;
}

/* 서울시 매력일자리 */
.attractive-job-section {
  background: #5ca5ff;
  padding: 60px 0 50px 0;
  color: #fff;
  position: relative;
}
.attractive-title {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.2;
}
.attractive-title .highlight {
  color: #fff; background: #0078ff; padding: 2px 10px; border-radius: 8px;
}
.attractive-cards .card {
  background: #fff;
  color: #222;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(30,30,60,0.09);
  margin-bottom: 12px;
  min-width: 180px;
}
.attractive-cards .card h5 { font-weight: 700; }
.job-timeline {
  color: #fff;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 1px;
  margin-top: 14px;
}
.job-timeline span { background:rgba(0,0,0,0.1); padding:3px 10px; border-radius:5px; margin-right:4px; }
.btn.btn-light {
  background: #fff;
  color: #0078ff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(30,80,255,0.12);
}
.btn.btn-light:hover { background: #0078ff; color: #fff; }
.modal {
  display: none; position: fixed; top:0; left:0; width:100vw; height:100vh; background:rgba(0,0,0,0.62); z-index:2000;
  align-items: center; justify-content: center;
}
.modal.show { display: flex; }
.modal-content { background: #fff; border-radius: 16px; overflow: hidden; }


/* ===== Services Tech Stack Section ===== */

.services-mf .service-box {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 8px 28px 0 rgba(40,60,110,0.10);
  padding: 2.2rem 1.2rem 2rem 1.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  transition: box-shadow 0.3s;
}
.services-mf .service-box:hover {
  box-shadow: 0 12px 36px 0 rgba(40,60,110,0.17);
  transform: translateY(-2px) scale(1.03);
}

.services-mf .service-ico {
  margin-bottom: 1.5rem;
}
.services-mf .ico-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #53a9ff 60%, #2569d3 100%);
  box-shadow: 0 4px 16px 0 rgba(50,80,180,0.09);
  font-size: 2rem;
  color: #fff;
}

.services-mf .service-content .s-title {
  font-size: 1.23rem;
  font-weight: bold;
  color: #183468;
  margin-bottom: 0.6rem;
  margin-top: 0.2rem;
}

.services-mf .service-content .s-description {
  font-size: 0.98rem;
  color: #505b7a;
  margin-bottom: 0;
  min-height: 48px;
}

/* Progress Bar 스타일 (Bootstrap progress-bar 기반) */
.services-mf .progress {
  height: 1.1rem;
  border-radius: 0.6rem;
  background: #f2f5fb;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px 0 rgba(80,110,200,0.04);
}
.services-mf .progress-bar {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1rem;
  border-radius: 0.6rem;
  background: linear-gradient(90deg, #53a9ff 80%, #2569d3 100%);
  color: #fff;
  text-align: right;
  padding-right: 0.7rem;
  transition: width 0.6s cubic-bezier(.4,2.4,.5,1);
}

/* 모바일 반응형 */
@media (max-width: 767px) {
  .services-mf .service-box {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .services-mf .ico-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .services-mf .service-content .s-title {
    font-size: 1rem;
  }
  .services-mf .service-content .s-description {
    font-size: 0.92rem;
    min-height: 32px;
  }
  .services-mf .progress {
    height: 0.8rem;
  }
  .services-mf .progress-bar {
    font-size: 0.80rem;
    padding-right: 0.3rem;
  }

  
}

.plus-logo-small {
  width: 30px;   
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  
}

.plus-link {
  display: inline-block;
  line-height: 2;
}



.card-blog {
  border-radius: 15px;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
  background: #fff;
  min-height: 270px;
}
.card-blog:hover {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.14);
}
.card-blog .card-img i {
  display: inline-block;
  margin-bottom: 10px;
}
.card-blog ul {
  margin-left: 1em;
  padding-left: 0;
  font-size: 1.07em;
}
.card-blog ul li {
  list-style: disc;
  margin-bottom: 6px;
}
@media (max-width: 991px) {
  .card-blog { margin-bottom: 1.5rem; }
}
/* Counter 아이콘 디자인 커스텀 */
.counter-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 7px solid #cde1f8;
  box-shadow: 0 4px 32px 0 rgba(80,120,220,0.10);
  font-size: 2.6rem;
  color: #fff;
  transition: box-shadow 0.2s;
}

.counter-circle i {
  color: #fff;
  font-size: 2.7rem;
  transition: color 0.2s;
}

.counter-box:hover .counter-circle {
  box-shadow: 0 8px 32px 0 rgba(30,80,220,0.13);
  background: rgba(30, 100, 230, 0.32);
}
.counter-box:hover .counter-circle i {
  color: #cde1f8;
}

/* 숫자, 텍스트 스타일 */
.counter-num {
  margin-top: 10px;
}
.counter-num .counter {
  color: #fff;
  font-weight: 700;
  font-size: 2.6rem;
  margin-bottom: 0;
  letter-spacing: 1px;
}
.counter-text {
  color: #fff;
  font-weight: 500;
  font-size: 1.18rem;
  display: block;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

/* 반응형 (모바일에서 한 줄 두 칸씩) */
@media (max-width: 767px) {
  .counter-circle {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
    border-width: 4px;
  }
  .counter-circle i {
    font-size: 1.6rem;
  }
  .counter-num .counter {
    font-size: 1.5rem;
  }
  .counter-text {
    font-size: 1rem;
  }
  .section-counter .col-6 {
    margin-bottom: 24px;
  }
}


/* 스킬 로고  */
.container-logo{
  background-color: #53a9ff;
  padding: 30px 0;
}
.marquee-style {
  width: 100%;
  overflow: hidden;
  /* 마스크로 양쪽 그라데이션 */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.animate-marquee {
  display: flex;
   gap: 30px;
  align-items: center;
  /* 너비는 내부 콘텐츠만큼 */
  width: max-content;
  /* 애니메이션 */
  animation: marquee 18s linear infinite;
  /* 속도(초) 조절 가능 */
}

.animate-marquee img {
  height: 70px;
  margin-right: 36px; /* 아이콘 간격 조절 */
  /* 필요하면 object-fit: contain; 등 추가 */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(0px) brightness(0.8); /* 효과 조절 가능 */
}

/* 슬라이드와 텍스트가 겹치지 않게 testimonial-box에 z-index */
.testimonials-slider .swiper-slide {
  position: relative;
  height: 480px; 
  overflow: hidden;
}
.testimonial-box {
  position: relative;
  z-index: 1;
  /* 텍스트 중앙 정렬 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
}
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;             
  object-position: 0% 20%;
  z-index: 0;
  filter: blur(0px) brightness(0.8);
}

.portfolio-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -14px;
  margin-right: -14px;
}
.portfolio-col {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
}
@media (max-width: 991px) {
  .portfolio-col { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 600px) {
  .portfolio-col { flex: 0 0 100%; max-width: 100%; }
}

.work-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.work-img {
  width: 100%;
  min-height: 170px;
   aspect-ratio: 16/9;
  display: flex;
  height: 290px; 
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;     
  display: block;
  margin: 0;
  max-width: none;
  max-height: none;
  background: none;
}

.work-box:hover .work-img img {
  transform: scale(1.08);
}
.work-content {
  padding: 1.2rem 1.1rem 1rem 1.1rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.w-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}
.portfolio-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.github-icon {
  width: 28px;
  height: 28px;
  margin-top: -3px;
  vertical-align: middle;
}
/* 원하는 대로 숫자로 지정! */
.my-custom-modal {
  width: 600px;      /* 고정 가로 */
  max-width: 90vw;   /* 창이 작을 땐 최대 90%까지 */
  height: 700px;     /* 고정 세로 */
  max-height: 90vh;  /* 창이 작을 땐 최대 90%까지 */
}

/* 모달 내용이 넘칠 때 스크롤 가능하게 */
.my-custom-modal .modal-content {
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
}
.my-custom-modal img, 
#attractivePosterModal img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 90%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  background: #f4f6fc;
}
/* 
#attractivePosterModal img {
  width: 500px;     
  height: 600px;
  object-fit: contain;  
  margin: 0 auto;
}
 */
 @media (max-width: 600px) {
  .my-custom-modal {
    width: 98vw;
    height: auto;
    min-height: 200px;
    max-width: 99vw;
    max-height: 99vh;
    padding: 0;
  }
  .my-custom-modal .modal-content {
    padding: 0;
    max-width: 100vw;
    max-height: 99vh;
  }
  .my-custom-modal img {
    width: 99vw;
    max-width: 98vw;
    height: auto;
    max-height: 88vh;
  }
}/* Contact Section 기본 세팅 */
#contact {
  padding-top: 120px;
  padding-bottom: 90px;
  background: #f8f9fa;
  min-height: 550px;
  /* 필요한 경우: overflow-x: hidden; */
}

/* 컨테이너를 flex로 정렬: PC/태블릿 기준 */
#contact .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
}

/* 왼쪽: 소개글 */
#contact .contact-desc {
  flex: 1.1 1 260px;
  max-width: 520px;
  margin-bottom: 30px;
}
#contact h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
  margin-left: 2px;
  letter-spacing: -1px;
}
#contact .contact-desc p {
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 18px;
  font-weight: 500;
}
#contact blockquote {
  margin: 1.2em 0 1.6em 0;
  padding: 0.8em 1.2em;
  background: #f2f3f7;
  border-left: 4px solid #4a82f7;
  font-style: italic;
  color: #727891;
  font-size: 1rem;
  border-radius: 8px;
}

/* 오른쪽: 카드 스타일 */
#contact .card {
  box-shadow: 0 6px 28px 0 rgba(60, 68, 100, 0.13);
  border-radius: 1.2rem;
  border: 1.5px solid #ebebeb;
  background: #fff;
  max-width: 380px;
  min-width: 280px;
  padding: 2.3rem 2rem 2rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#contact .card h4 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

#contact .card hr {
  margin: 0.7rem 0 1rem 0;
  border-top: 1.2px solid #e8e8ea;
}

#contact .card div, 
#contact .card a {
  font-size: 1.04rem;
  color: #263253;
  word-break: break-all;
}
#contact .card a {
  color: #2777c4;
  text-decoration: underline;
  transition: color .17s;
}
#contact .card a:hover {
  color: #124f8c;
}

#contact .card i {
  margin-right: 7px;
  color: #35559e;
  font-size: 1.1em;
}

#contact .card .mt-4 {
  font-size: 1.01rem;
  opacity: 0.80;
  margin-top: 1.6rem;
  color: #6e7380;
}

/* 반응형 (태블릿/모바일) */
@media (max-width: 991px) {
  #contact .container {
    flex-direction: column;
    align-items: center;
    gap: 38px;
  }
  #contact .contact-desc {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 98vw;
    text-align: center;
  }
  #contact .card {
    margin: 0 auto;
  }
}
#contact .card img {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  vertical-align: -5px;  
  object-fit: contain;
}
/* --- Portfolio Work 카드 이미지 오버레이 효과 추가 --- */

.work-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 170px;
  aspect-ratio: 16/9;
  display: flex;
  height: 290px;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.9s cubic-bezier(.27,.89,.72,1.13);
  display: block;
}

/* 기존 확대 효과 제거(원하는 경우 살려둬도 무방)
.work-box:hover .work-img img {
  transform: scale(1.08);
}
*/

/* 오버레이 박스 */
.work-img .work-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(20, 30, 50, 0.72);
  color: #fff;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 18px;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.37,.21,.61,1.02);
  z-index: 2;
  border-radius: 12px 12px 0 0;
}

/* 호버 시 오버레이 등장 */
.work-img:hover .work-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* 오버레이 안의 텍스트에 추가 효과 가능 */
.work-overlay .overlay-text {
  animation: overlayTextUp 0.4s cubic-bezier(.32,1.52,.48,1.11) both;
}
@keyframes overlayTextUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.work-overlay .overlay-text {
  font-size: 0.9rem;          /* 글자 크기 */
  font-weight: 400;           /* 글자 두께 */
  line-height: 1.7;           /* 줄간격 */
  text-align: left;           /* 왼쪽정렬: 필요하면 center로 바꿔도 됨 */
  letter-spacing: 0.01em;     /* 자간 */
  word-break: keep-all;       /* 한글 줄바꿈 자연스럽게 */
  /* color: #fff;            기본 흰색이지만, 더 강조하려면 변경 가능 */
}
.work-overlay .overlay-title {
  font-weight: 700;
  font-size: 1.3em;    
  letter-spacing: -0.01em;
  color: #fff;
  display: block;
  margin-bottom: 0.25em;
}

.portfolio-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-col {
  flex: 0 1 360px;  /* 카드 크기 키움 */
  max-width: 360px;
}


