/* 공통 스타일 */
:root {
    --primary-color: #00A651;
    --dark-bg: #111111;
    --gray-bg: #1A1A1A;
    --light-text: #FFFFFF;
    --gray-text: #999999;
    --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* 네비게이션 바 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 30px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav-menu a {
    color: #000000; /* 검정색으로 변경 */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color); /* 호버 시 프라이머리 컬러로 변경 */
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    padding: 8px 20px;
    background: rgba(0, 166, 81, 0.1); /* 배경색 변경 */
    border: 1px solid rgba(0, 166, 81, 0.2); /* 테두리 색상 변경 */
    border-radius: 4px;
    color: #000000; /* 버튼 텍스트 색상도 검정색으로 */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-menu .btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.3);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:first-child {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:last-child {
    bottom: 0;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

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

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--light-text);
    color: var(--light-text);
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

/* 푸터 */
footer {
    background-color: var(--dark-bg);
    padding: 80px 0 40px;
}

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

.footer-info {
    max-width: 300px;
}

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

.footer-info p {
    margin-bottom: 30px;
    opacity: 0.8;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links img {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--light-text);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-text);
}

.legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.legal-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--light-text);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .nav-menu {
        margin-left: 0;
        align-items: center;
        text-align: center;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* 메인 히어로 섹션 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* 그리드 패턴 배경 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 166, 81, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 166, 81, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    opacity: 0.3;
    z-index: 1;
}

/* 그라디언트 오버레이 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 0%, rgba(0, 166, 81, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(0, 166, 81, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 2;
}

/* 컨텐츠 z-index 조정 */
.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-section h1 .green-text {
    background: linear-gradient(135deg, #00ff9d 0%, #00bf5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-section h1 .green-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff9d, transparent);
    opacity: 0.3;
}

.hero-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 100px;
}

.btn-primary {
    padding: 16px 36px;
    background: linear-gradient(135deg, #00ff9d 0%, #00bf5c 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 255, 157, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 255, 157, 0.3);
}

.btn-secondary {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 80px;
    align-items: center;
}

.stat {
    position: relative;
}

.stat span {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.stat p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 0.02em;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), transparent);
    opacity: 0.5;
}

.stat-card span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.stat-card p {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff9d, #00bf5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.stat-card:nth-child(4) {
    animation-delay: -1s;
}

.stat-card:nth-child(5) {
    animation-delay: -2s;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* 서비스 페이지 히어로 섹션 */
.service-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-category {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.service-category img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-category h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

/* 회사소개 페이지 히어로 섹션 */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* 성공사례 페이지 히어로 섹션 */
.case-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.category-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 반응형 스타일 */
@media (max-width: 768px) {
    .service-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .case-categories {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* 페이지 헤더 스타일 */
.page-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 166, 81, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.page-label {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}

.page-header h1 {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
}

/* 검색 입력 필드 스타일 */
.search-input {
    margin-top: 48px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input input {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.search-input button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* 푸터 스타일 */
.footer {
    background-color: var(--dark-bg);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    line-height: 1.6;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.link-group ul a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.social-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* 성공사례 섹션 스타일 수정 */
.success-story {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin: 20px 0;
}

.success-story .category {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 20px;
}

.success-story .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.metric-item h3 {
    font-size: 3.2rem; /* 글자 크기 조정 */
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.metric-item p {
    font-size: 1.2rem; /* 글자 크기 조정 */
    color: rgba(255, 255, 255, 0.6);
}

/* 슬라이더 컨트롤 */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
} 

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0f1c17;
    z-index: 1000;
    padding: 15px 0;
}

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;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* hover 대신 show 클래스로 제어 */
.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #000000 !important;  /* 텍스트 색상을 항상 어두운 색으로 고정 (!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로 고정 */
}

/* 모바일 환경에서도 드롭다운 텍스트 색상 유지 */
@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-color: rgba(255, 255, 255, 0.9);  /* 모바일에서도 밝은 배경색 유지 */
        box-shadow: none;
        margin-top: 10px;
        padding: 5px 0 5px 20px;
        border-radius: 4px;
    }
    
    .dropdown-content a {
        padding: 8px 15px;
        color: #000000 !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;
} 

/* 모바일 메뉴 스타일 개선 */
@media (max-width: 768px) {
  /* 모바일 메뉴 버튼 스타일 */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
  }
  
  /* 활성화된 모바일 메뉴 버튼 스타일 */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* 네비게이션 메뉴 스타일 */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  /* 드롭다운 메뉴 스타일 */
  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    display: none;
    padding: 10px 0;
    margin-top: 10px;
    min-width: auto;
    text-align: center;
  }
  
  .dropdown-content.show {
    display: block;
  }
  
  .dropdown-content a {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 8px 0;
  }
  
  .dropdown-content a:hover {
    background-color: transparent;
    color: #00A651 !important;
  }
} 

/* 모바일 메뉴에서 글씨 색상 항상 흰색으로 설정 */
@media (max-width: 768px) {
  /* 모바일 메뉴 활성화 시 모든 메뉴 항목 흰색으로 */
  .nav-menu.active li a {
    color: #FFFFFF !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  /* 드롭다운 메뉴 항목도 흰색으로 */
  .nav-menu.active .dropdown-content a {
    color: #FFFFFF !important;
    opacity: 0.9;
  }
  
  /* 활성화된 메뉴 항목 강조 */
  .nav-menu.active li a.active {
    color: #00A651 !important;
  }
  
  /* 호버 효과 */
  .nav-menu.active li a:hover {
    color: #00A651 !important;
  }
  
  /* 버튼 스타일 유지 */
  .nav-menu.active li a.btn-primary {
    background: linear-gradient(135deg, #00ff9d 0%, #00A651 100%);
    color: #ffffff !important; 
  }
  
  /* 드롭다운 메뉴 호버 효과 */
  .nav-menu.active .dropdown-content a:hover {
    color: #00A651 !important;
  }
}