/* 기본 설정 */
:root {
    --primary-color: #2196F3;  /* 메인 파란색 */
    --primary-light: #64B5F6;  /* 연한 파란색 */
    --primary-dark: #1976D2;   /* 진한 파란색 */
    --secondary-color: #03A9F4; /* 하늘색 */
    --accent-color: #00BCD4;    /* 청록색 포인트 */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F0F7FF;        /* 연한 파란 배경 */
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 모바일 가로 스크롤 방지 */
@media (max-width: 768px) {
    html, body {
        position: relative;
        overflow-x: hidden;
    }
    
    main, section {
        overflow-x: hidden;
        width: 100%;
    }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* 메뉴바 스타일 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

/* 마우스 올릴 때 살짝 불투명 배경 */
.navbar:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 스크롤 시 숨김 */
.navbar.hide {
    transform: translateY(-100%);
}

/* 초기 상태 - 완전 투명 */
.navbar.transparent {
    background: none;
}

/* 스크롤 시에도 투명 유지 */
.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    width: auto;
    max-width: 140px;
    transition: var(--transition);
}

/* 초기 로고 색상 (투명 배경용) */
.logo-icon circle {
    transition: var(--transition);
}

/* 로고 텍스트 - 항상 흰색 유지 */
.logo-icon text {
    fill: var(--white);
    transition: var(--transition);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 모바일 메뉴 버튼 - 항상 흰색 유지 */
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    width: 100%;
}

/* 비디오 배경 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* 오버레이 - 살짝 어두운 파란색 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(20, 60, 120, 0.5) 0%, 
        rgba(33, 150, 243, 0.3) 50%,
        rgba(0, 100, 150, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 상단 레이블 */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    animation: labelSlide 0.8s ease-out forwards;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hero-label {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
}

@keyframes labelSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label .separator {
    opacity: 0.6;
}

/* 타이틀 */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.hero-highlight {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    opacity: 0;
    animation: titleFade 1s ease-out 0.3s forwards;
}

.highlight-part1,
.highlight-part2 {
    display: inline-block;
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-brand {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    opacity: 0;
    animation: titleFade 1s ease-out 0.5s forwards;
}

.brand-part1,
.brand-part2 {
    display: inline-block;
}

/* 부제목 */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: contentFade 1s ease-out 0.7s forwards;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* 특징 */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: contentFade 1s ease-out 0.9s forwards;
}

@keyframes contentFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 버튼 */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: contentFade 1s ease-out 1.1s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 스크롤 힌트 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 3;
}

@media (max-width: 768px) {
    .scroll-hint {
        bottom: 20px;
    }
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
    0% { top: 10px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
    100% { top: 10px; opacity: 1; }
}

/* 특징 섹션 */
.features {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4개 고정 */
    gap: 2rem;
}

/* 태블릿에서 2x2 그리드 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 모바일에서 1열 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 1.5rem 1rem; /* 패딩 줄임 */
    border-radius: 10px;
    transition: var(--transition);
    min-width: 0; /* flexbox 버그 방지 */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px; /* 80px에서 70px로 줄임 */
    height: 70px;
    margin: 0 auto 1rem; /* 하단 마진 줄임 */
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* 아이콘 크기도 조정 */
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem; /* 폰트 크기 줄임 */
    margin-bottom: 0.5rem;
    white-space: nowrap; /* 줄바꿈 방지 */
    word-break: keep-all; /* 단어 단위로 유지 */
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem; /* 폰트 크기 줄임 */
    line-height: 1.5;
    word-break: keep-all; /* 단어 단위로 유지 */
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    word-break: keep-all;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 회사 소개 영역 개선 */
.about {
    background-color: var(--white);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.text-primary {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.about-text p {
    margin-bottom: 1.75rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
    word-break: keep-all;
}

.about-text p:last-of-type {
    margin-bottom: 1rem;
    font-weight: 500;
}

.signature {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.signature-wrapper {
    margin-top: 2.5rem;
    text-align: left;
}

.signature-img {
    width: 100px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0.9) contrast(1.1);
    opacity: 0.9;
    margin-left: 5px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: #f5f5f5;
    aspect-ratio: 4/3;
}

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

/* 슬라이더 스타일 */
.services-slider,
.features-slider,
.points-slider {
    padding: 1rem 0 3rem;
    overflow: hidden;
}

.services-slider .swiper-slide,
.features-slider .swiper-slide,
.points-slider .swiper-slide {
    height: auto;
}

.services-slider .service-card,
.features-slider .feature-card,
.points-slider .point-card {
    height: 100%;
    margin: 0;
}

/* Swiper 페이지네이션 */
.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: var(--primary-color);
    opacity: 1;
}

/* 슬라이드 그림자 효과 */
.swiper-slide {
    opacity: 0.8;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* 데스크탑 그리드 보이기 */
.desktop-grid {
    display: grid;
}

/* 서비스 섹션 */
.services {
    background-color: var(--white);
    position: relative;
}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {
    /* 모바일에서 슬라이더 표시, 데스크탑 그리드 숨김 */
    .services-slider,
    .features-slider,
    .points-slider {
        display: block !important;
    }
    
    .desktop-grid {
        display: none !important;
    }
    
    /* 모바일 슬라이드 카드 스타일 */
    .services-slider .service-card,
    .features-slider .feature-card,
    .points-slider .point-card {
        box-shadow: none;
        border: 1px solid #f0f0f0;
    }
    
    /* 터치 스와이프 범위 확대 */
    .swiper {
        padding: 0 20px;
        margin: 0 -20px;
    }
    
    /* 모바일에서 슬라이드 안정성 개선 */
    .swiper-slide {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    
    /* 슬라이드 내부 스크롤 방지 */
    .services-slider .service-card,
    .features-slider .feature-card,
    .points-slider .point-card {
        overflow: hidden;
        touch-action: pan-y;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 서비스 카드 배경 이미지 */
.service-card:nth-child(1) {
    background-image: url('../images/cleanning/school-clean/KakaoTalk_20250715_225642063.jpg');
}

.service-card:nth-child(2) {
    background-image: url('../images/cleanning/office-clean/main.jpg');
}

.service-card:nth-child(3) {
    background-image: url('../images/cleanning/newhouse/main.jpg');
}

.service-card:nth-child(4) {
    background-image: url('../images/cleanning/aircon/main.jpg');
}

.service-card:nth-child(5) {
    background-image: url('../images/cleanning/school-clean/main.png');
}

/* 오버레이 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.88) 0%, 
        rgba(255, 255, 255, 0.82) 50%,
        rgba(255, 255, 255, 0.88) 100%);
    transition: all 0.4s ease;
    z-index: 0;
}

/* 호버 시 오버레이 투명도 조절 */
.service-card:hover::before {
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.65) 0%, 
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.65) 100%);
}

/* 추가 그라데이션 오버레이 (파란색 틴트) */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.05) 0%, 
        rgba(33, 150, 243, 0.02) 50%,
        rgba(100, 181, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* 컨텐츠를 오버레이 위로 */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 호버 시 아이콘과 제목 색상 변경 */
.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.service-card:hover h3 {
    color: var(--primary-dark);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.service-card ul {
    color: var(--text-light);
}

.service-card ul li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
}

/* 서비스 프로세스 섹션 */
.service-process {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.text-highlight {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.process-text > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.process-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .process-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-text {
        text-align: center;
    }
    
    .process-text h2 {
        font-size: 1.8rem;
    }
    
    .process-text > p {
        font-size: 1rem;
    }
    
    .process-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .process-list li {
        font-size: 0.95rem;
    }
}

/* 고객 만족 포인트 섹션 */
.satisfaction-points {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.point-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.point-card:hover::before {
    transform: scaleX(1);
}

.point-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.point-card:hover .point-icon {
    transform: scale(1.1) rotate(5deg);
}

.point-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.point-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .point-card {
        padding: 2rem;
    }
    
    .point-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .point-card h3 {
        font-size: 1.1rem;
    }
    
    .point-card p {
        font-size: 0.95rem;
    }
}

/* 포트폴리오 섹션 - 임시 숨김 */
.portfolio {
    display: none;
    background-color: var(--bg-light);
    padding: 5rem 0;
}



.filter-btn {
    background-color: transparent;
    border: 2px solid #ddd;
    color: var(--text-color);
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 20px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 문의하기 섹션 */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.info-item p {
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 지도 섹션 */
.map-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.map-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
    height: 400px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* 푸터 */
.footer {
    background-color: #2c2c2c;
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-sns h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.sns-links {
    display: flex;
    gap: 1rem;
}

.sns-links a {
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: var(--transition);
}

.sns-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* 플로팅 버튼 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 15px;
        gap: 8px;
    }
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 768px) {
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

.float-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background-color: #2196F3;
}

.sms-btn {
    background-color: #03A9F4;
}

.blog-btn {
    background-color: #00BCD4;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 맨 위로 버튼 */
.scroll-top {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
}

/* FAQ 섹션 */
.faq-section {
    padding: 6rem 0; /* 섹션 전체 여백 증가 */
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 1000px; /* 800px에서 1000px로 증가 */
    margin: 0 auto;
    padding: 0 2rem; /* 좌우 여백 추가 */
}

.faq-item {
    margin-bottom: 1.5rem; /* 1rem에서 1.5rem으로 증가 */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 2rem 2.5rem; /* 패딩 증가 */
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem; /* 간격 증가 */
    font-size: 1.1rem; /* 폰트 크기 증가 */
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    font-family: inherit;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    width: 100%;
}

.faq-number {
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-number {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.faq-item.active .faq-number {
    background-color: var(--primary-dark);
}

.faq-text {
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* 500px에서 1000px로 대폭 증가 */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 2rem 2.5rem; /* 패딩 증가 */
    padding-top: 1rem; /* 상단 패딩 증가 */
    padding-bottom: 2rem; /* 하단 패딩 증가 */
    color: var(--text-light);
    line-height: 1.8; /* 줄 간격 증가 */
    background-color: #f8f9fa;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
    transform: translateY(0);
    opacity: 1;
}

/* 모바일 FAQ */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 0.5rem; /* 모바일에서 패딩 최소화 */
    }
    
    .faq-item {
        margin-bottom: 1rem; /* 아이템 간 간격 줄이기 */
    }
    
    .faq-question {
        padding: 1rem 0.8rem; /* 패딩 더 줄이기 */
        font-size: 0.85rem; /* 폰트 크기 더 줄이기 */
        gap: 0.5rem; /* 간격 더 줄이기 */
    }
    
    .faq-text {
        white-space: nowrap; /* 줄바꿈 방지 */
        overflow: hidden; /* 넘치는 텍스트 숨김 */
        text-overflow: ellipsis; /* 말줄임표 */
        flex: 1;
        padding-right: 0.5rem; /* 오른쪽 여백 */
    }
    
    .faq-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        flex-shrink: 0; /* 크기 고정 */
    }
    
    .faq-icon {
        font-size: 1rem; /* 아이콘 크기 더 줄이기 */
        flex-shrink: 0; /* 크기 고정 */
        margin-left: auto; /* 자동으로 오른쪽 정렬 */
    }
    
    .faq-answer p {
        padding: 1.2rem 0.8rem; /* 모바일에서 패딩 조정 */
        padding-top: 0.8rem;
        font-size: 0.9rem; /* 폰트 크기 */
        line-height: 1.6; /* 줄 간격 */
        white-space: normal; /* 답변은 자연스럽게 줄바꿈 */
    }
}

/* 초소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .faq-question {
        padding: 0.9rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .faq-text {
        font-size: 0.8rem;
    }
    
    .faq-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
}

/* 포트폴리오 팝업 */
.portfolio-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.portfolio-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.popup-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.portfolio-popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* 헤더 영역 */
.popup-header {
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.popup-title {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.popup-description {
    color: var(--text-light);
    font-size: 1rem;
}

/* 슬라이더 영역 */
.popup-slider {
    flex: 1;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    overflow: hidden;
    padding: 2rem 0; /* 위아래 여백 추가 */
}

.popup-slider .swiper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.popup-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}

.popup-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.popup-slider .swiper-slide img {
    max-width: 90%; /* 좌우 여백을 위해 90%로 조정 */
    max-height: calc(90vh - 300px); /* 헤더, 썸네일, 패딩을 고려한 높이 */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 슬라이드 카운터 */
.slide-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* 네비게이션 버튼 */
.popup-slider .swiper-button-next,
.popup-slider .swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.popup-slider .swiper-button-next:hover,
.popup-slider .swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.popup-slider .swiper-button-next:after,
.popup-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* 썸네일 영역 */
.popup-thumbnails {
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
    padding: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
    display: flex;
    justify-content: center; /* 중앙 정렬 */
}

.popup-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.popup-thumbnails::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.popup-thumbnails::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.popup-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.thumbnails-wrapper {
    display: flex;
    gap: 0.75rem;
    height: 80px;
    justify-content: center; /* 중앙 정렬 */
    padding: 0 0.5rem;
    margin: 0 auto;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
    opacity: 0.6;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-light);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.4);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 모바일 팝업 */
@media (max-width: 768px) {
    .portfolio-popup {
        padding: 1rem;
    }
    
    .popup-content {
        max-height: 95vh;
        border-radius: 10px;
    }
    
    .popup-header {
        padding: 1rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.25rem;
    }
    
    .popup-description {
        font-size: 0.9rem;
    }
    
    .popup-slider {
        min-height: 250px;
        padding: 1.5rem 0; /* 모바일에서도 여백 유지 */
    }
    
    .popup-slider .swiper-slide img {
        max-width: 85%; /* 모바일에서 약간 더 작게 */
        max-height: calc(95vh - 250px);
    }
    
    .popup-slider .swiper-button-next,
    .popup-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .popup-slider .swiper-button-next:after,
    .popup-slider .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .slide-counter {
        font-size: 12px;
        padding: 3px 12px;
    }
    
    .popup-thumbnails {
        padding: 0.75rem;
    }
    
    .thumbnails-wrapper {
        height: 60px;
        gap: 0.5rem;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    white-space: nowrap;
    word-break: keep-all;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-buttons .btn {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    padding: 14px 30px;
}

.cta-buttons .btn i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 2px;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: #1976D2;
}

.cta-buttons .btn-primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* 서비스 CTA */
.service-cta,
.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* 데스크탑만 표시 */
.desktop-only {
    display: block;
}

/* 모바일 필터 기본 숨김 */
@media (min-width: 769px) {
    .filter-select {
        display: none !important;
    }
}

/* 포트폴리오 필터 기본 스타일 */
.portfolio-filter {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 드롭다운 선택 요소 기본 숨김 (데스크탑) */
.filter-select {
    display: none;
}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {
    /* 데스크탑 전용 요소 숨기기 */
    .desktop-only {
        display: none !important;
    }
    
    /* 텍스트 중앙 정렬 */
    .hero-title,
    .hero-subtitle,
    .section-title,
    .section-subtitle,
    .feature-card,
    .cta-content {
        text-align: center;
    }
    
    /* 히어로 섹션 모바일 */
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    /* 모바일에서 오버레이 */
    .hero-overlay {
        background: linear-gradient(135deg, 
            rgba(20, 60, 120, 0.6) 0%, 
            rgba(33, 150, 243, 0.4) 50%,
            rgba(0, 100, 150, 0.5) 100%);
    }
    
    .hero-label {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
        gap: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-break: keep-all;
    }
    
    .hero-highlight {
        font-size: 1.4rem;
    }
    
    .hero-brand {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 10px;
        line-height: 1.6;
        word-break: keep-all;
    }
    
    .hero-subtitle br {
        display: inline;
    }
    
    .hero-features {
        gap: 0.8rem;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-feature {
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        padding: 0;
        gap: 0.5rem;
    }
    
    .hero-feature-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 2rem;
        font-size: 1rem;
        justify-content: center;
        text-align: center;
    }
    
    /* 히어로 셉션 모바일 레이아웃 수정 */
    .hero {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .hero-content {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 2rem 1rem;
    }
    
    .hero-content .container {
        width: 100%;
    }
    
    .scroll-hint {
        display: none; /* 모바일에서는 스크롤 힌트 숨김 */
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 서비스 카드 모바일 최적화 - 가로 레이아웃 */
    .services {
        overflow: visible;
    }
    
    .services-grid {
        display: none;
    }
    
    .service-card {
        padding: 0;
        text-align: left;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
        border-radius: 15px;
        margin: 0;
        height: auto;
        min-height: 180px;
        display: grid;
        grid-template-columns: 35% 65%;
        position: relative;
        overflow: hidden;
    }
    
    /* 좌측 이미지 영역 */
    .service-card-image {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 각 서비스별 배경 이미지 */
    .services-slider .swiper-slide:nth-child(1) .service-card-image {
        background-image: url('../images/cleanning/government-office-waks/main.jpg');
    }
    
    .services-slider .swiper-slide:nth-child(2) .service-card-image {
        background-image: url('../images/cleanning/office-clean/main.jpg');
    }
    
    .services-slider .swiper-slide:nth-child(3) .service-card-image {
        background-image: url('../images/cleanning/newhouse/main.jpg');
    }
    
    .services-slider .swiper-slide:nth-child(4) .service-card-image {
        background-image: url('../images/cleanning/aircon/main.jpg');
    }
    
    .services-slider .swiper-slide:nth-child(5) .service-card-image {
        background-image: url('../images/cleanning/school-clean/main.png');
    }
    
    /* 우측 컨텐츠 영역 */
    .service-card-content {
        background: #ffffff;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* 모바일에서 오버레이 제거 */
    .service-card::before,
    .service-card::after {
        display: none;
    }
    
    /* 모바일에서 서비스 아이콘 숨김 */
    .service-icon {
        display: none;
    }
    
    .service-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: var(--primary-dark);
        font-weight: 700;
        line-height: 1.3;
    }
    
    .service-card-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        color: var(--text-light);
    }
    
    .service-card-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .service-card-content ul li {
        position: relative;
        padding-left: 1.2rem;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        line-height: 1.4;
        color: var(--text-color);
    }
    
    .service-card-content ul li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--primary-color);
        font-weight: bold;
        font-size: 0.9rem;
    }
    
    .service-card-content ul li:last-child {
        margin-bottom: 0;
    }
    
    /* 더 보기 버튼 숨김 */
    .service-more-btn {
        display: none;
    }
    
    /* 회사소개 모바일 */
    .about {
        background-color: var(--white);
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .signature-wrapper {
        text-align: center;
    }
    
    .signature {
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    /* 포트폴리오 필터 모바일 - 드롭다운 스타일 */
    .portfolio-filter {
        margin-bottom: 2rem;
    }
    
    .filter-select {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        font-family: inherit;
        background-color: #ffffff;
        color: var(--text-color);
        border: 2px solid var(--primary-color);
        border-radius: 8px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232196F3'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 20px;
        padding-right: 45px;
        font-weight: 500;
    }
    
    .filter-select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
    }
    
    .filter-btn {
        display: none;
    }
    
    /* CTA 섹션 모바일 */
    .cta-content h2 {
        font-size: 1.3rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .cta-buttons .btn i {
        font-size: 15px;
    }
    
    /* 플로팅 버튼 모바일 */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .hero-image {
        right: -200px;
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* 전체 여백 제거 */
    body {
        margin: 0;
        padding: 0;
    }
    
    /* 컨테이너 패딩 조정 */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* 히어로 컨텐트 중앙 정렬 */
    .hero-content {
        padding: 0 1rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    /* 헤더 모바일 - 항상 투명 */
    .navbar.transparent {
        background: transparent;
    }
    
    /* 모바일에서도 터치 시 살짝 불투명 배경 */
    .navbar:hover,
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* 스크롤 시 숨김 */
    .navbar.hide {
        transform: translateY(-100%);
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .logo-icon {
        height: 35px;
        max-width: 120px;
    }
    
    /* 했버거 메뉴 버튼 가시성 개선 */
    .mobile-menu-btn {
        display: flex !important;
        background-color: rgba(33, 150, 243, 0.1);
        border-radius: 8px;
    }
    
    .mobile-menu-btn:hover {
        background-color: rgba(33, 150, 243, 0.2);
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* 모바일 메뉴 열릴 때도 투명 유지 */
    .header:has(.nav-menu.active) {
        background: transparent;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        display: block;
        color: var(--text-color); /* 검은색으로 변경 */
        text-shadow: none; /* 텍스트 그림자 제거 */
    }
    
    .nav-menu a:hover {
        color: var(--primary-color);
        background-color: #f8f8f8;
        padding-left: 1rem;
    }

    /* 히어로 섹션 */
    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        display: none;
    }

    /* 그리드 레이아웃 */
    /* 회사소개 모바일 최적화 */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding: 0 1rem;
        order: 2;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        text-align: center;
        color: var(--text-light);
        word-break: keep-all;
    }
    
    .signature-wrapper {
        text-align: center;
        margin-top: 2rem;
    }
    
    .signature {
        font-size: 1rem;
    }
    
    .signature-img {
        width: 80px;
        margin-left: 5px;
        display: inline-block;
        vertical-align: middle;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    /* 포트폴리오는 기존 그리드 유지 */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        margin-bottom: 0;
    }
    
    .portfolio-image {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sns-links {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 특징 섹션 모바일 */
    .features {
        padding: 3rem 0;
        overflow: visible;
    }
    
    .features-grid {
        display: none;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        background-color: #f9f9f9;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        margin: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: 1.1rem; /* 모바일에서 폰트 크기 조정 */
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    


    /* 플로팅 버튼 모바일 */
    .floating-buttons {
        bottom: 70px;
        right: 15px;
        gap: 8px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .scroll-top {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .scroll-top {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }


}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    /* 초소형 모바일에서 플로팅 버튼 크기 조정 */
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .float-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* 모바일 가독성 개선 */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.4;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* 초소형 모바일 기기 추가 최적화 */
    .about-text p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 15px;
    }
    
    /* 버튼 크기 모바일 최적화 */
    .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-width: 150px;
        display: block;
        text-align: center;
        line-height: 1.5;
    }
    
    /* 서비스 카드 초소형 모바일 대응 */
    .service-card {
        min-height: 160px;
    }
    
    .service-card-image {
        min-height: 160px;
    }
    
    .service-card-content {
        padding: 1.2rem 1rem;
    }
    
    .service-card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card-content ul li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-left: 1rem;
    }
}

/* 서비스 카드 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card[data-aos-delay="100"] { animation-delay: 0.1s; }
.service-card[data-aos-delay="200"] { animation-delay: 0.2s; }
.service-card[data-aos-delay="300"] { animation-delay: 0.3s; }
.service-card[data-aos-delay="400"] { animation-delay: 0.4s; }
.service-card[data-aos-delay="500"] { animation-delay: 0.5s; }
.service-card[data-aos-delay="600"] { animation-delay: 0.6s; }

/* 파트너사 로고 섹션 */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners-section .section-header {
    margin-bottom: 50px;
}

.partners-slider-wrapper {
    position: relative;
    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
    );
}

.partners-slider {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    animation: scroll-partners 30s linear infinite;
    width: fit-content;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    flex-shrink: 0;
    width: 150px;
    height: 100px;
}

.partner-item img {
    max-height: 80px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* 개별 로고 크기 조정 */
.partner-item img[src*="pungtak"] {
    max-height: 60px;
    max-width: 100px;
}

.partner-item img[src*="jodal"] {
    max-height: 70px;
    max-width: 110px;
}

.partner-item img[src*="nara"] {
    max-height: 65px;
    max-width: 100px;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partner-item {
        padding: 0 20px;
        width: 120px;
        height: 80px;
    }
    
    .partner-item img {
        max-height: 60px;
        max-width: 100px;
    }
    
    .partners-track {
        animation-duration: 20s;
    }
    
    /* 모바일에서 개별 로고 크기 조정 */
    .partner-item img[src*="pungtak"] {
        max-height: 45px;
        max-width: 80px;
    }
    
    .partner-item img[src*="jodal"] {
        max-height: 50px;
        max-width: 85px;
    }
    
    .partner-item img[src*="nara"] {
        max-height: 48px;
        max-width: 80px;
    }
}