:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5aa0;
    --accent-color: #ffd700;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 25px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5aa0 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26,54,93,0.9) 0%, rgba(44,90,160,0.8) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    gap: 10px;
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.search-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.contact-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 로그인된 사용자 표시 스타일 */
.contact-btn.user-info {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.contact-btn.user-info:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.contact-btn.user-info i {
    font-size: 1.2em;
    color: #fff;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

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

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-link:first-child:hover {
    border-radius: 10px 10px 0 0;
}

.dropdown-link:last-child:hover {
    border-radius: 0 0 10px 10px;
}

.dropdown-link:only-child:hover {
    border-radius: 10px;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-rotating-text {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    opacity: 1;
    transition: opacity 1s ease-in-out;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.hero-rotating-text.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease-in-out;
}

.hero-rotating-text.fade-in {
    opacity: 1 !important;
    transition: opacity 1s ease-in-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Concerns Section */
.concerns {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.concerns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    opacity: 0.8;
    z-index: 0;
}

.concerns .container {
    position: relative;
    z-index: 1;
}

.concerns .section-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.concerns .section-subtitle {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 60px;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.concern-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.concern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.concern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.concern-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.concern-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.concern-card:hover .concern-icon {
    transform: scale(1.1);
    background: var(--gradient-primary);
}

.concern-card:hover .concern-icon i {
    color: white;
}

.concern-content {
    flex: 1;
}

.concern-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.concern-quote {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 215, 0, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.concern-quote::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 8px;
    font-size: 2rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
}

.concern-solution {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(26, 54, 93, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(26, 54, 93, 0.1);
    transition: all 0.3s ease;
}

.concern-solution i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.concern-solution span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.concern-card:hover .concern-solution {
    background: rgba(26, 54, 93, 0.08);
    border-color: var(--secondary-color);
}

.concerns-cta {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.concerns-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.concerns-cta .btn-primary {
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 30px;
}

/* Stats Section */
.stats-section {
    background: url('images/배경화면1.jpg') center/cover no-repeat;
    position: relative;
    color: var(--text-color);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-content {
    text-align: center;
}

.stats-section .section-title {
    color: var(--primary-color);
}

.stats-section .section-subtitle {
    color: var(--text-color);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stats-grid .stat-item {
    text-align: center;
}

.stats-grid .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(0, 0, 0, 0.2);
}

.stats-grid .stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.stats-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

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

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-features i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Square Services Grid */
.services-grid-square {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* 첫 6개 박스는 2컬럼씩 차지 (3개가 한 줄에) */
.services-grid-square .service-box:nth-child(1),
.services-grid-square .service-box:nth-child(2),
.services-grid-square .service-box:nth-child(3),
.services-grid-square .service-box:nth-child(4),
.services-grid-square .service-box:nth-child(5),
.services-grid-square .service-box:nth-child(6) {
    grid-column: span 2;
}

/* 마지막 2개 박스는 중앙에 배치하면서 같은 폭 유지 */
.services-grid-square .service-box:nth-child(7) {
    grid-column: 2 / span 2;
}

.services-grid-square .service-box:nth-child(8) {
    grid-column: 4 / span 2;
}

.service-box {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.service-box:hover::before {
    left: 0;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-box .service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.service-box .service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-box .service-description {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.service-box .service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-box .service-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.85rem;
}

.service-box .service-features i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

.service-box .service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

/* Modern Infographic Section */
.infographic-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.infographic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media screen and (max-width: 1024px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .info-card {
        padding: 25px 20px;
    }
    
    .info-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .info-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 768px) {
    .info-card {
        padding: 20px 15px;
    }
    
    .info-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .info-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .info-number {
        font-size: 20px;
        top: 15px;
        left: 15px;
    }
}

@media screen and (max-width: 480px) {
    .info-card {
        padding: 15px 12px;
    }
    
    .info-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .info-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .info-number {
        font-size: 18px;
        top: 10px;
        left: 10px;
    }
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    opacity: 0.3;
}

.info-icon {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 20px;
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 모바일 반응형 디자인 */
@media (max-width: 1024px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .info-card {
        padding: 25px 20px;
    }

    .info-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .info-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .info-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .info-card {
        padding: 20px 15px;
    }

    .info-number {
        top: 15px;
        left: 15px;
        font-size: 20px;
    }

    .info-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .info-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .info-description {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }

    .info-card {
        padding: 15px 12px;
    }

    .info-number {
        top: 12px;
        left: 12px;
        font-size: 18px;
    }

    .info-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .info-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .info-description {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Remove individual card variations for modern look */

/* Modern top accent line */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 24px 24px 0 0;
}

/* Ripple Effect on Click */
.info-card {
    overflow: hidden;
}

.info-card:active::after {
    width: 300px;
    height: 300px;
}

/* Cases Section */
.cases {
    background: url('images/배경화면2.jpg') center/cover no-repeat;
    position: relative;
}

.cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.cases .container {
    position: relative;
    z-index: 2;
}

.cases .section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.cases .section-subtitle {
    color: #2d3748;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.case-type {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-result {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-result.win {
    background: #d4edda;
    color: #155724;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.case-amount {
    color: var(--primary-color);
    font-weight: 600;
}

.case-date {
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-light);
}

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    color: white;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* News Section */
.news {
    background: url('images/배경화면4.png') 50% 50%/cover no-repeat;
    position: relative;
    padding: 100px 0;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.news .container {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.news .section-header {
    margin-bottom: 22px;
}

.news .section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.news .section-subtitle {
    color: #2d3748;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
}

/* YouTube Videos Section */
.youtube-videos {
    background: var(--bg-light);
    padding: 100px 0;
    position: relative;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-button {
    background: var(--primary-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.video-card:hover .video-title {
    color: var(--secondary-color);
}

.video-description {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.video-duration i {
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    background: url('images/배경화면3.jpg') center/cover no-repeat;
    position: relative;
    text-align: center;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.contact .section-subtitle {
    color: #2d3748;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.method-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.method-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.method-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.contact-form-container-full {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
    max-width: 1400px;
    width: calc(100% - 40px);
    margin: 0 auto;
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

/* 체크박스 그룹 스타일 수정 */
.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    padding: 5px 0;
    line-height: 20px; /* 텍스트 라인 높이를 체크박스 높이와 동일하게 설정 */
    min-height: 20px; /* 최소 높이를 체크박스와 동일하게 설정 */
}

/* 기본 체크박스 숨기기 */
.checkbox-label input[type="checkbox"] {
    display: none;
}

/* 커스텀 체크박스 스타일 */
.checkmark {
    flex-shrink: 0; /* 체크박스 크기 고정 */
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
    transition: all 0.2s ease;
    vertical-align: middle; /* 수직 정렬 추가 */
}

/* 체크박스 체크 표시 */
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1f3a68;
    font-size: 14px;
    line-height: 1; /* 체크 표시 라인 높이 조정 */
}

/* 체크박스 호버 효과 */
.checkbox-label:hover .checkmark {
    border-color: #1f3a68;
}

/* 체크된 상태의 체크박스 스타일 */
.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #fff;
    border-color: #1f3a68;
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 20px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #1f3a68;
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="date"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #1f3a68;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.auth-form .submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1f3a68, #2c5aa0);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-form .submit-btn:hover {
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    color: #4a5568;
}

.auth-links a {
    color: #1f3a68;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Auth Modal Styles */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-color);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.auth-form .submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.auth-links {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links span {
    margin: 0 10px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-info {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.info-line {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-policies {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: white;
}

.footer-policies .divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Floating Action Button */
/* Fixed Sidebar */
.fixed-sidebar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-item {
    width: 64px;
    height: 48px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.sidebar-item:hover::before {
    left: 100%;
}

.sidebar-text {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
    color: #000000;
}

.sidebar-item i {
    font-size: 1rem;
    margin-bottom: 1px;
}

/* 각 버튼별 색상 */
.sidebar-item.phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.sidebar-item.phone:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateX(-5px) scale(1.05);
}

.sidebar-item.kakao {
    background: linear-gradient(135deg, #fde047, #facc15);
}

.sidebar-item.kakao:hover {
    background: linear-gradient(135deg, #facc15, #eab308);
    transform: translateX(-5px) scale(1.05);
}

.sidebar-item.consult {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.sidebar-item.consult:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateX(-5px) scale(1.05);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-main-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info {
        margin: 0;
        max-width: none;
    }

    .services-grid-square {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* 태블릿에서는 모든 박스가 1개 컬럼씩 차지 */
    .services-grid-square .service-box:nth-child(1),
    .services-grid-square .service-box:nth-child(2),
    .services-grid-square .service-box:nth-child(3),
    .services-grid-square .service-box:nth-child(4),
    .services-grid-square .service-box:nth-child(5),
    .services-grid-square .service-box:nth-child(6),
    .services-grid-square .service-box:nth-child(7),
    .services-grid-square .service-box:nth-child(8) {
        grid-column: span 1;
    }

    .service-box {
        min-height: 320px;
    }

        .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    
    .concerns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .concern-card {
        padding: 25px 20px;
    }
    
    .concerns-cta {
        padding: 35px 20px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .video-card {
        margin-bottom: 20px;
    }

    .video-thumbnail {
        height: 180px;
    }

    .video-info {
        padding: 20px;
    }
}

@media (max-width: 800px) {
    .services-grid-square {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 800px 이하에서도 모든 박스가 1개 컬럼씩 차지 */
    .services-grid-square .service-box:nth-child(1),
    .services-grid-square .service-box:nth-child(2),
    .services-grid-square .service-box:nth-child(3),
    .services-grid-square .service-box:nth-child(4),
    .services-grid-square .service-box:nth-child(5),
    .services-grid-square .service-box:nth-child(6),
    .services-grid-square .service-box:nth-child(7),
    .services-grid-square .service-box:nth-child(8) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 50px;
        padding-left: 30px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile Dropdown */
    .nav-item.dropdown {
        width: 90%;
        align-self: flex-start;
    }
    
    .nav-link {
        text-align: left;
        width: 100%;
        justify-content: flex-start;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease, max-height 0.3s ease;
        margin-top: 10px;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }

    .dropdown-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .dropdown-link:hover {
        padding-left: 20px;
    }
    
    .hero-rotating-text {
        font-size: clamp(1.7rem, 5.5vw, 3.2rem);
        line-height: 1.15;
    }
    
        .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-grid {
        gap: 40px;
    }

    .stats-grid .stat-number {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .services-grid-square,
    .cases-grid,
    .news-grid,
    .infographic-grid,
    .concerns-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    /* 모바일에서는 모든 박스가 기본 설정으로 */
    .services-grid-square .service-box:nth-child(1),
    .services-grid-square .service-box:nth-child(2),
    .services-grid-square .service-box:nth-child(3),
    .services-grid-square .service-box:nth-child(4),
    .services-grid-square .service-box:nth-child(5),
    .services-grid-square .service-box:nth-child(6),
    .services-grid-square .service-box:nth-child(7),
    .services-grid-square .service-box:nth-child(8) {
        grid-column: auto;
    }

    .service-box {
        min-height: 280px;
        padding: 25px 15px;
    }

    .info-card {
        padding: 28px 20px;
    }
    
    .concern-card {
        padding: 25px 20px;
    }
    
    .concern-icon {
        width: 50px;
        height: 50px;
    }
    
    .concern-icon i {
        font-size: 20px;
    }
    
    .concerns-cta {
        padding: 30px 20px;
    }

    .infographic-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .video-card {
        margin-bottom: 15px;
    }

    .video-thumbnail {
        height: 160px;
    }

    .video-info {
        padding: 15px;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-description {
        font-size: 0.9rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .form-row,
    .form-row-two {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container-full {
        padding: 35px 25px;
        margin: 0 auto;
        max-width: calc(100% - 30px);
        width: auto;
    }
    
    .footer-main-row {
        gap: 25px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-policies {
        gap: 10px;
    }
    
    .footer-policies .divider {
        display: none;
    }
    
    .footer-policies a {
        display: block;
        margin-bottom: 10px;
    }
    
    .fixed-sidebar {
        right: 10px;
        bottom: 20px;
        gap: 5px;
    }
    
    .sidebar-item {
        width: 60px;
        height: 40px;
        font-size: 0.7rem;
    }
    
    .sidebar-item i {
        font-size: 0.9rem;
    }
    
    .sidebar-text {
        font-size: 0.52rem;
        color: #000000;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
    
    /* 768px 이하 모바일에서 로그인, 회원가입 버튼 스타일 */
    .contact-btn {
        font-size: 0.7rem;
    }
    
    /* 768px 이하에서도 로그인, 회원가입 버튼 아이콘 숨기기 */
    .contact-btn i {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-rotating-text {
        font-size: clamp(1.5rem, 6vw, 2.8rem);
        line-height: 1.1;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stats-grid {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stats-grid .stat-number {
        font-size: 2.5rem;
    }

    .stats-grid .stat-label {
        font-size: 1rem;
    }
    
    .contact-btn {
        padding: 8px 15px;
        font-size: 0.7rem;
    }
    
    /* 모바일에서 로그인, 회원가입 버튼 아이콘 숨기기 */
    .contact-btn i {
        display: none;
    }
    
    section {
        padding: 50px 0;
    }
    
    .news {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-method,
    .contact-form-container,
    .concern-card {
        padding: 25px 20px;
    }
    
    .concern-icon {
        width: 45px;
        height: 45px;
    }
    
    .concern-icon i {
        font-size: 18px;
    }
    
    .concern-quote {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .concerns-cta {
        padding: 25px 15px;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .contact-form-container-full {
        padding: 25px 15px;
        margin: 0 auto;
        max-width: calc(100% - 20px);
        width: auto;
    }
    
    .fixed-sidebar {
        right: 8px;
        bottom: 16px;
        gap: 4px;
    }
    
    .sidebar-item {
        width: 52px;
        height: 36px;
        font-size: 0.65rem;
    }
    
    .sidebar-item i {
        font-size: 0.8rem;
    }
    
    .sidebar-text {
        font-size: 0.48rem;
        color: #000000;
    }

    .video-thumbnail {
        height: 140px;
    }

    .video-info {
        padding: 12px;
    }

    .video-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .video-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .play-button {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .youtube-videos {
        padding: 50px 0;
    }
    
    /* 480px에서도 모든 박스가 기본 설정으로 */
    .services-grid-square .service-box:nth-child(1),
    .services-grid-square .service-box:nth-child(2),
    .services-grid-square .service-box:nth-child(3),
    .services-grid-square .service-box:nth-child(4),
    .services-grid-square .service-box:nth-child(5),
    .services-grid-square .service-box:nth-child(6),
    .services-grid-square .service-box:nth-child(7),
    .services-grid-square .service-box:nth-child(8) {
        grid-column: auto;
    }
}

/* Animation on Scroll */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== SERVICES PAGE STYLES ===== */

/* Services Hero */
.services-hero {
    background: linear-gradient(135deg, #1f3a68 0%, #2c5aa0 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero .hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.services-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.services-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.services-hero .stat-item {
    text-align: center;
}

.services-hero .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #bbdefb;
    margin-bottom: 0.5rem;
}

.services-hero .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.service-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(44, 90, 160, 0.02) 100%);
    z-index: 1;
}

.service-overview .container {
    position: relative;
    z-index: 2;
}

.services-quick-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quick-nav-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 40px;
}

.quick-nav-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.01) 0%, rgba(44, 90, 160, 0.01) 100%);
    z-index: 1;
}

.service-detail .container {
    position: relative;
    z-index: 2;
}

/* 홀수 번째 service-detail 섹션들에 배경색 적용 */
#service-1::after,
#service-3::after,
#service-5::after,
#service-7::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 104, 0.2);
    z-index: 1;
}

#service-1 .container,
#service-3 .container,
#service-5 .container,
#service-7 .container {
    position: relative;
    z-index: 3;
}

.service-detail.alt {
    background: var(--bg-light);
}

.service-detail.alt::before {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(44, 90, 160, 0.02) 100%);
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    text-align: left;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.service-title-area h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-detail-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Benefits List within Info Card */
.benefits-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.benefits-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefits-list h4 i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

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

.benefits-list li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.service-info-card,
.service-benefits-card,
.service-process-card,
.service-notes-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.service-detail.alt .service-info-card,
.service-detail.alt .service-benefits-card,
.service-detail.alt .service-process-card,
.service-detail.alt .service-notes-card {
    background: #f8fffe;
}

.service-info-card:hover,
.service-benefits-card:hover,
.service-process-card:hover,
.service-notes-card:hover {
    transform: translateY(-5px);
}

.service-info-card h3,
.service-benefits-card h3,
.service-process-card h3,
.service-notes-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a472a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-info-card h3 i,
.service-benefits-card h3 i,
.service-process-card h3 i,
.service-notes-card h3 i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.service-info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.service-benefits-card ul,
.service-notes-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits-card li,
.service-notes-card li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.service-benefits-card li i,
.service-notes-card li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.process-step span:last-child {
    color: #333;
    font-weight: 500;
}

/* Services CTA */
.services-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/배경화면2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.services-cta .container {
    position: relative;
    z-index: 3;
}

.services-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 104, 0.8);
    z-index: 2;
}

.services-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.services-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.services-cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.services-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.services-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Services Page Mobile Styles */
@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-hero .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .services-hero .stat-number {
        font-size: 2rem;
    }
    
    .services-quick-nav {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-nav-item {
        padding: 1rem;
    }
    
    .quick-nav-item i {
        font-size: 1.5rem;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .service-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-title-area h2 {
        font-size: 2rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-info-card,
    .service-benefits-card,
    .service-process-card,
    .service-notes-card {
        padding: 1.5rem;
    }
    
    .services-cta .cta-title {
        font-size: 2rem;
    }
    
    .services-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   PROCEDURE PAGE STYLES
   ========================================== */

/* Procedure Hero Section */
.procedure-hero {
    background: linear-gradient(135deg, #1f3a68 0%, #2c5aa0 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.procedure-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.procedure-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

.procedure-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.procedure-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #e8f5e8;
}

.procedure-hero .hero-description p {
    font-size: 1.1rem;
    color: #c8e6c9;
    margin: 0;
}

/* Procedure Flow Section */
.procedure-flow {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.procedure-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(44, 90, 160, 0.02) 100%);
    z-index: 1;
}

.procedure-flow .container {
    position: relative;
    z-index: 2;
}

.flow-container {
    margin-top: 80px;
    position: relative;
}

.flow-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    max-width: 900px;
}

.flow-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#animatedPath {
    stroke-dasharray: 1130;
    stroke-dashoffset: 1130;
    animation: none;
    transform-origin: center;
}

.step-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 2;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.4s ease;
}

.step-circle .step-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 4px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    gap: 8px;
}

.step-circle .step-inner i {
    font-size: 1.6rem;
    color: #666;
    transition: all 0.4s ease;
    margin-top: 15px;
}

.step-circle .step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    transition: all 0.4s ease;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.step-circle .step-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transition: all 0.4s ease;
}

/* Active Step Animation */
.step-circle.active .step-inner {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-color: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.3);
}

.step-circle.active .step-inner i,
.step-circle.active .step-inner .step-number {
    color: white;
}

.step-circle.active .step-label {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

/* Hover Effects */
.step-circle:hover .step-inner {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.25);
}

.step-circle:hover .step-label {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

/* Procedure Details Section */
.procedure-details {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
}

.procedure-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.01) 0%, rgba(44, 90, 160, 0.01) 100%);
    z-index: 1;
}

.procedure-details .container {
    position: relative;
    z-index: 2;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.detail-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: white;
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.detail-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.detail-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

.detail-list li i {
    color: #dc3545;
    margin-right: 12px;
    font-size: 0.9rem;
}

.detail-duration {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.detail-duration i {
    color: #dc3545;
    margin-right: 10px;
}

.detail-duration span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Success Cases Grid */
.success-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.success-case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.success-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.case-header {
    background: var(--gradient-primary);
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.case-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 104, 0.05);
    z-index: 1;
}

.case-header > * {
    position: relative;
    z-index: 2;
}

.case-type {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.case-result {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffeb3b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.case-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.detail-item .value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Success Statistics */
.stats-overview {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(44, 90, 160, 0.02) 100%);
    z-index: 1;
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.01) 0%, rgba(44, 90, 160, 0.01) 100%);
    z-index: 1;
}

.achievement-card > * {
    position: relative;
    z-index: 2;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.achievement-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.achievement-org {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .success-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .success-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .success-case-card {
        margin-bottom: 0;
    }
    
    .case-header {
        padding: 15px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-title {
        font-size: 1.2rem;
    }
    
    .case-result {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .case-details {
        padding: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* CTA Section */
.procedure-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.procedure-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/배경화면2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.procedure-cta .container {
    position: relative;
    z-index: 2;
}

.procedure-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.procedure-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.procedure-cta .cta-subtitle {
    font-size: 1.2rem;
    color: #e3f2fd;
    margin-bottom: 40px;
    line-height: 1.6;
}

.procedure-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.procedure-cta .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.procedure-cta .btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    border: none;
}

.procedure-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.3);
}

.procedure-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.procedure-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .procedure-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .procedure-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .flow-diagram {
        height: 450px;
        transform: scale(0.75);
        margin: -60px 0;
    }
    
    .step-circle {
        width: 100px;
        height: 100px;
    }
    
    .step-circle .step-inner i {
        font-size: 1.3rem;
        margin-top: 12px;
    }
    
    .step-circle .step-number {
        font-size: 0.85rem;
        font-weight: 700;
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .step-circle .step-label {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-card {
        padding: 30px 20px;
    }
    
    .detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .procedure-cta .cta-title {
        font-size: 2rem;
    }
    
    .procedure-cta .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .procedure-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* 생년월일 입력 필드 특별 스타일 */
#signupBirthdate {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* 날짜 입력 필드의 기본 스타일 제거 */
#signupBirthdate::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
}

#signupBirthdate::-webkit-datetime-edit {
    display: none;
}

#signupBirthdate::-webkit-datetime-edit-fields-wrapper {
    display: none;
}

#signupBirthdate::-webkit-datetime-edit-text {
    display: none;
}

#signupBirthdate::-webkit-datetime-edit-month-field {
    display: none;
}

#signupBirthdate::-webkit-datetime-edit-day-field {
    display: none;
}

#signupBirthdate::-webkit-datetime-edit-year-field {
    display: none;
}

#signupBirthdate::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

#signupBirthdate::-webkit-outer-spin-button {
    display: none;
    -webkit-appearance: none;
}

/* 생년월일 입력 필드 포커스 스타일 */
#signupBirthdate:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* 생년월일 입력 필드 플레이스홀더 스타일 */
#signupBirthdate::placeholder {
    color: #bbb;
    font-style: normal;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

#signupBirthdate::-webkit-input-placeholder {
    color: #bbb;
    font-style: normal;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

#signupBirthdate::-moz-placeholder {
    color: #bbb;
    font-style: normal;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

#signupBirthdate:-ms-input-placeholder {
    color: #bbb;
    font-style: normal;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* 비밀번호 에러 메시지 스타일 */
.password-error {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.password-error.show {
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

.password-error.hide {
    opacity: 0;
    transform: translateY(-5px);
}

/* 비밀번호 입력 필드 에러 상태 */
.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* 로고 이미지 스타일 */
.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 28px;
    }
}

/* 푸터 로고 이미지 스타일 */
.footer-logo-image {
    height: 100px;  /* 50px에서 100px로 증가 */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .footer-logo-image {
        height: 80px;  /* 40px에서 80px로 증가 */
    }
}

@media (max-width: 480px) {
    .footer-logo-image {
        height: 70px;  /* 35px에서 70px로 증가 */
    }
}