/* 서비스 페이지 공통 스타일 - 밝은 버전 */
:root {
    --primary-color: #00A651;
    --primary-gradient: linear-gradient(135deg, #00FFB2 0%, #00A651 100%);
    --light-bg: #ffffff;
    --gray-bg: #f5f5f5;
    --dark-text: #000000;
    --gray-text: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

/* 헤더 스타일 업데이트 - 기존 사이트와 동일하게 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0f1c17;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: none;
    box-shadow: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-icon {
    color: #00A651;
    font-size: 1.8rem;
    margin-right: 10px;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00A651;
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown > a i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff; /* 배경색을 흰색으로 변경 */
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #000000 !important; /* 텍스트 색상을 항상 어두운 색으로 고정 */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-content a.active {
    background-color: rgba(0, 166, 81, 0.1);
    color: #00A651 !important; /* 호버 시 색상도 !important로 고정 */
}

.contact-btn {
    background-color: #00A651;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    color: white !important;
}

.contact-btn:hover {
    background-color: #008c44;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

/* 서비스 히어로 섹션 수정 - 대각선 제거 및 스타일 개선 */
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f0fff8 0%, #e0f5eb 100%);
    overflow: hidden;
}

.service-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 166, 81, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 166, 81, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

/* 대각선 모양 제거하고 그라데이션 효과로 대체 */
.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #00FFB2, #00A651);
    z-index: 2;
}

/* 서비스 히어로 콘텐츠 개선 */
.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 카테고리 태그 스타일 개선 */
.service-category {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 166, 81, 0.1);
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 제목 스타일 개선 */
.service-hero h1 {
    font-size: 3.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}

/* 설명 스타일 개선 */
.service-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-text);
    line-height: 1.6;
}

/* 배경에 움직이는 그라데이션 효과 추가 */
.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 178, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 서비스 개요 섹션 */
.service-overview {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    text-align: left;
}

.overview-content p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.overview-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-text h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 0;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 서비스 프로세스 섹션 */
.service-process {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #f0fff8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 166, 81, 0.1);
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.3);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--gray-text);
    font-size: 1rem;
}

/* 서비스 혜택 섹션 */
.service-benefits {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0fff8 0%, var(--light-bg) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.3);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--gray-text);
    font-size: 1rem;
}

/* 서비스 사례 섹션 */
.service-case {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.case-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-details {
    padding: 40px;
}

.case-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 166, 81, 0.1);
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.case-details h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.case-details p {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
}

.case-results {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.result-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.case-testimony {
    background: rgba(0, 166, 81, 0.03);
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.case-testimony i {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 10px;
}

.case-testimony p {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-icon i {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 1;
    margin: 0;
}

.author p {
    font-size: 1rem;
    color: var(--dark-text);
    margin: 0;
    font-style: normal;
}

.case-icons {
    background: rgba(0, 166, 81, 0.05);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-icon-item {
    text-align: center;
}

.case-icon-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.case-icon-item span {
    color: var(--gray-text);
    font-size: 0.9rem;
    display: block;
}

/* 서비스 FAQ 섹션 */
.service-faq {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #f0fff8 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-text);
    font-weight: 500;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    height: auto;
}

.faq-answer p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA 섹션 */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fff8 0%, #e0f5eb 100%);
    overflow: hidden;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 166, 81, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 166, 81, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 166, 81, 0.3);
}

/* 푸터 */
footer {
    background-color: #f5f5f5;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
}

.footer-logo p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(0, 166, 81, 0.1);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-info p {
    color: var(--gray-text);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
}

.copyright p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .process-steps, .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-card {
        grid-template-columns: 1fr;
    }
    
    .case-icons {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f1c17;
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        background: none;
        box-shadow: none;
        margin-top: 10px;
        padding: 0 0 0 20px;
    }
    
    .dropdown-content a {
        padding: 8px 0;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-image {
        order: -1;
    }
    
    .process-steps, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* AOS 애니메이션 지원 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

/* 스크립트 추가 */
.faq-item.active .toggle-btn i {
    transform: rotate(45deg);
} 