
/* 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: #05386e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2487ce; /* 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: #05386e;  /* The default color of the main navmenu links */
  --nav-hover-color: #2487ce; /* 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: #124265; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2487ce; /* 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: #f6fafd;
  --surface-color: #ffffff;
}

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

.accent-background {
  --background-color: #05386e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #469fdf;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: 'NanumSquare';
  word-break: auto-phrase;
}

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);
  word-break: auto-phrase;
}


.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

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

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

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

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

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

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  border-color: var(--contrast-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# 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: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

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

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

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

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

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

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

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

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

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

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

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

/* Navmenu - 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
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

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

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

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

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

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

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

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

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

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

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

.footer .credits a {
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

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

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

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 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);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.page-title .breadcrumbs ol a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

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

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

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

@media (max-width: 1199px) {

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

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

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

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


.mgt10{margin-top:10px;}
.mgt20{margin-top:20px;}
.mgt30{margin-top:30px;}
.mgt40{margin-top:40px;}
.mgt50{margin-top:50px;}

.pdt10{padding-top:10px;}
.pdt20{padding-top:20px;}
.pdt30{padding-top:30px;}
.pdt40{padding-top:40px;}
.pdt50{padding-top:50px;}
/*--------------------------------------------------------------
# blue-k Section
--------------------------------------------------------------*/
  /* 공통 */
  img { max-width: 100%; height: auto; display: block; }
  .section-title h2 { font-weight: 700; }
  .section-title p { color: #666; }

  /* Hero */
  #blue-k.hero {
    background: url('../img/bg-img-00.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #0b2b3a;
  }
  .hero .main-tit { font-size: 2.4rem; font-weight: 800; }
  .hero .hero-sub-tit { font-size: 1.25rem; margin-bottom: 30px; }
  .hero .hero-logo { max-width: 320px; margin: 0 auto 30px; }
  .hero .hero-services { font-size: 1.1rem; margin-bottom: 20px; }
  .hero .hero-cta { padding: 0.75rem 1.5rem; font-size: 1rem; }

  /* 프리미엄 카드 */
  #premium .service-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  #premium .service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  #premium .icon img { width: 100%; height: 260px; object-fit: cover; }

  /* 후기 Swiper */
  .swiper-pagination-bullet { width: 10px; height: 10px; background: #ccc; }
  .swiper-pagination-bullet-active { background: #8cdd22; }

  /* 후기 갤러리 */
  .review-section {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .review-image {
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .review-image:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }

  /* about */
  .about-card { border-radius: 12px; overflow: hidden; transition: transform .3s ease; }
  .about-card:hover { transform: scale(1.03); }
  .about-image-wrapper { height: 350px; }
  .about-title {
    position: absolute; bottom: 0; width: 100%;
    background: #007BFF; color: #fff; text-align: center;
    padding: 10px 0; font-weight: 600;
  }

  /* service grid */
  .service-item {
    background: #fff; padding: 20px; border-radius: 12px;
    text-align: center; transition: transform .3s ease, box-shadow .3s ease;
  }
  .service-item:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
  .service-img { height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }

  /* 반응형 */
  @media (max-width: 992px) {
    .hero .main-tit { font-size: 2rem; }
    .hero .hero-sub-tit { font-size: 1.1rem; }
    .about-image-wrapper { height: 300px; }
  }
  @media (max-width: 576px) {
    #blue-k.hero { padding: 60px 0; }
    .hero .main-tit { font-size: 1.6rem; }
    .hero .hero-sub-tit { font-size: 1rem; margin-bottom: 20px; }
    .hero .hero-logo { max-width: 240px; margin-bottom: 20px; }
    .review-image { height: 180px; }
    .about-image-wrapper { height: 220px; }
  }

/* blue-k 섹션 */


/* 메인 타이틀 */
.hero .main-tit {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px; /* 설명 텍스트와 가까움 */
}
/* 설명 텍스트 */
.hero .hero-sub-tit {
  font-size: 1.25rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 50px; /* 로고와 간격 줄임 */
}

/* 로고 */
.hero .hero-logo {
  max-width: 200px;
  margin: 0 auto 40px;
  display: block;
}

/* 서비스 항목 */
.hero .hero-services {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.hero .hero-services span {
  margin: 0 10px;
}
.hero .hero-services span.status-sv{
  background: #fdf7f7;
  color: #333;
  border-radius:25px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* CTA 버튼 */
.hero .hero-cta {
  margin-top: 1rem;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}

/* 반응형 */
@media (max-width: 768px) {
  #blue-k.hero {
    padding: 100px 0 60px;
  }
  .hero .main-tit {
    font-size: 2.2rem;
  }
  .hero .hero-sub-tit {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .hero .hero-services {
    font-size: 0.93rem;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    justify-content: center;
  }
}

 /* 프리미엄 청소시공 전체 스타일 */
  #premium {
    background-color: #f8f9fa;
    color: #333;
  }

  #premium .section-title h2 {
    font-weight: 800;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 10px;
  }

  #premium .section-title p.mgt10 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
  }

  #premium .service-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #premium .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  #premium .icon {
    width: 100%;
    height: 262px;
    overflow: hidden;
  }

  #premium .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px; /* ✅ 사진 전체 모서리 둥글게 */
  }

  #premium .service-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 16px; /* ✅ 제목 위 간격 추가 */
    margin-bottom: 20px;
  }

  #premium .service-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  #premium .p-3 {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  #premium > .container:last-child {
  padding-bottom: 40px; /* 카드 컨테이너 아래 여백 */
}

/* CTA (직영팀) h3 스타일 수정 */
#cta-direct h3 {
  font-style: italic;   /* 글자 이탤릭 */
  font-size: 2.2rem;    /* 글씨 크기 조금 키움 */
  font-weight: 700;     /* 기존 두께 유지 */
  margin-bottom: 15px;  /* 아래 여백 */
}

  /* CTA 직영팀 p 스타일 수정 */
#cta-direct p.mgt20 {
  font-size: 1.2rem;      /* 글자 크기 키움 */
  color: rgba(255, 255, 255, 0.7); /* 흰색에 불투명도 70% 적용 */
  line-height: 1.6;       /* 가독성을 위해 줄 간격 */
}

/* h2 글자 두껍게 및 섹션 여백 조정 */
#testimonials .section-title h2 {
  font-weight: 800;       /* 글자 두껍게 */
  font-size: 2rem;
  margin-top: 40px;       /* 섹션 위쪽 여백 */
  margin-bottom: 15px;    /* 제목과 설명 사이 간격 */
}

#testimonials .section-title h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #555;
}

#testimonials .section-title p {
  margin-bottom: 20px;    /* 아래쪽 여백 통일 */
  color: #555;
}

#testimonials {
  padding: 80px 0;        /* 섹션 전체 위아래 여백 통일 */
}

/* 동그라미 기본 스타일 */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc; /* 기본 회색 */
  opacity: 1;
}

/* 선택된 슬라이드 동그라미 색 */
.swiper-pagination-bullet-active {
  background: #8cdd22; /* 초록색 강조 */
}

/* 포트폴리오 / 후기 갤러리 */
.review-section {
  display: grid;
  gap: 20px; /* 이미지 사이 간격 */
  grid-template-columns: repeat(3, 1fr); /* 한 줄에 3장 */
  margin-top: 30px;
}

/* 개별 이미지 스타일 */
.review-image {
  width: 100%;
  height: 250px; /* 높이 */
  object-fit: cover; /* 비율 유지하며 꽉 채움 */
  border-radius: 12px; /* 모서리 둥글게 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 마우스 오버 효과 */
.review-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 반응형: 모바일에서는 1~2장 */
@media (max-width: 992px) {
  .review-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-image {
    height: 220px;
  }
}

@media (max-width: 550px) {
  .review-section {
    grid-template-columns: 1fr;
  }
  .review-image {
    height: 200px;
  }
  #cta-direct h3{
    font-size: 1.4rem;
  }
  #cta-direct h4{
    font-size: 1rem;
  }
  #cta-direct p{
    font-size: 0.93rem !important;
    word-break: auto-phrase;
  }
}

/* 섹션 상하 여백 각각 적용 */
#about {
  padding-top: 80px;    /* 섹션 위 여백 유지 */
  padding-bottom: 120px; /* 섹션 아래 여백만 늘림 */
}

/* h2 글자 두껍게 강조 및 간격 조정 */
#about .section-title h2 {
  font-weight: 800; /* 두껍게 */
  font-size: 2rem;
  margin-top: 40px;   /* 섹션 상단 여백 */
  margin-bottom: 15px; /* 제목과 설명 사이 간격 */
  line-height: 1.4;
}

#about .section-title p {
  margin-bottom: 20px; /* 섹션 하단 여백 통일 */
  color: #555;
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: scale(1.03);
}

.about-image-wrapper {
  width: 100%;
  height: 380px; /* 이미지 높이 */
  overflow: hidden;
}

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

.about-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #007BFF;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* 팝업 스타일 */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.popup:target {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
}

/* 반응형 조정 */
@media (max-width: 992px) {
  .about-image-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .about-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .about-image-wrapper {
    height: 250px;
  }
}

/* 섹션 상하 여백 */
#services.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* 서비스 카드 */
.service-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 카드 전체 호버 효과 */
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 카드 이미지 */
.service-img {
  width: 100%;
  height: 220px; /* 이미지 높이 증가 */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 35px; /* 사진과 제목 간격 */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important; /* 그림자 효과 추가 */
  transition: box-shadow 0.3s ease;
}

/* 카드 이미지 호버 시 그림자 강화 */
.service-item:hover .service-img {
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* 카드 제목 */
.service-item h3 {
  font-size: 1.5rem !important; /* 글자 키움 */
  margin-bottom: 15px !important; /* 제목과 설명 간격 */
  color: #333 !important;
}

/* 카드 설명 */
.service-item p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-btn {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  padding: 1.2rem 2rem !important;
  color: #ffffff !important;
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 20px !important; /* 좌우만 둥글게 */
  display: inline-block !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.cta-btn:hover {
  background-color: #007bff !important; /* 파랑 */
  color: #fff !important; /* 글자 흰색 */
  border-color: #007bff !important;
}

.cta-btn2 {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  padding: 1.2rem 2rem !important;
  color: #ffffff !important;
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 20px !important; /* 좌우만 둥글게 */
  display: inline-block !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.cta-btn2:hover {
  background-color: #ffc107 !important; /* 노랑 */
  color: #fff !important; /* 글자 흰색 */
  border-color: #ffc107 !important;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
.justify-content-center{
   justify-content: center;
}

.blue-k img.main-bg-logo{
  width: 400px;
  height: auto;
  display:block;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-top:30px;
}
.blue-k .container > .main-tit {
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.section.portfolio{
  background-color:#05386e;
  color:#fff;
  padding:80px 0;
}
.section.portfolio .section-title > h2{
  margin-top:30px;
  line-height:1.4;
  font-weight:700;
  color:#fff !important;
}
.section.portfolio .section-title > h2 span{
  color: #8cdd22;
}
.section.portfolio .section-title > h5{
  color:#f0f0f0;
  margin-top:30px;
  line-height:1.6;
}

.status-review{
  margin-top: 20px;
  border:2px solid #fff;
  border-radius: 30px;
  padding: 1rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.call-to-background{
  background: url(../img/call-to-bg.png) no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  text-align: center;
}
.call-to-background h3{
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}
.call-to-background .status{
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  background:#2776B4;
  border-radius: 40px;
  padding: 1rem 1.5rem;
}

@media (max-width: 550px) {
  .section-title h2{
    font-size: 1.4rem !important;
  }
  .section-title h5{
    font-size: 1rem !important;
  }
  .section.portfolio .section-title > h5{
    font-size: 1rem;
  }
  .status-review{
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  .call-to-background h3{
    font-size: 1.3rem;
  }
  .call-to-background .status{
    font-size: 1.7rem;
  }
}

 .review-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 한 줄에 4개 */
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.review-section a {
  display: block;
}

.review-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  cursor: pointer;
}

.review-image:hover {
  transform: scale(1.03);
}

/* 팝업 스타일 */
.popup {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.popup img {
  width: 500px;
  height: auto;
  border-radius: 8px;
}

.popup:target {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* 반응형 대응 */
@media (max-width: 1024px) {
  .review-section {
    grid-template-columns: repeat(2, 1fr); /* 태블릿에서는 2개 */
  }
}

@media (max-width: 600px) {
  .review-section {
    grid-template-columns: 1fr; /* 모바일에서는 1개 */
  }
}

.footer {
  background-color: #05386e;
  color: #fff;
  padding: 40px 20px;
  font-family: 'NanumSquare';
}
.footer a {
  color: #00bcd4;
  text-decoration: none;
  font-weight:600;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.footer-logo img {
  width: 200px; /* 로고 크기 */
  margin-bottom: 10px;
  opacity: 0.6; /* 0.0~1.0 사이 값, 0.8 = 80% */
}
.footer-about p {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: left;
  font-size: 13px;
  color: #bbb;
  margin-bottom: 20px;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #a5a5a5;
  border-top: 1px solid #a5a5a5;
  padding-top: 15px;
}

/* 반응형 */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-about {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding-top: 0 !important;
  }
}
