/* 전문가 스타일 색상 팔레트 - 아카이브 저장소 컨셉 */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #2563eb;
    --accent-light: #60a5fa;
    --text-dark: #1e293b;
    --text-medium: #334155;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --shadow-light: 0 1px 3px rgba(30, 58, 138, 0.1);
    --shadow-medium: 0 4px 6px rgba(30, 58, 138, 0.15);
    --shadow-heavy: 0 10px 15px rgba(30, 58, 138, 0.2);
    --archive-blue: #1e40af;
    --archive-light: #3b82f6;
}

/* 기본 텍스트 색상 개선 - 아카이브 전문가 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.8;
    color: var(--text-medium);
    overflow-x: hidden;
    background: var(--gradient-subtle);
    font-weight: 400;
    min-height: 100vh;
    font-size: 16px;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.2px;
}

/* 링크 색상 개선 */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* 단락 개선 */
p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 목록 개선 */
li {
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 헤더 텍스트 - 전문가 느낌 */
.header {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 1.8rem;
    color: #93c5fd;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.2) 0%, rgba(59, 130, 246, 0.3) 100%);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.7rem;
    word-break: keep-all;
}

.brand-logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    object-fit: contain;
}

.brand-logo img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin: 0 2px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(230, 126, 34, 0.2);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: var(--gradient-accent);
    font-weight: 700;
    box-shadow: var(--shadow-light);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}

.navbar-nav .nav-link {
    font-weight: 700;
    color: #34495e !important;  /* 더 진한 색으로 */
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 2px;
    font-size: 1rem;
}

/* 헤더 스타일 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50 !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #2c3e50 !important;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1);
}

.navbar-nav .nav-link.active {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.15);
    font-weight: 700;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* 히어로 섹션 */
.hero-section {
    background: var(--gradient-primary),
                radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 5px solid var(--accent-color);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(49, 130, 206, 0.1) 0%, rgba(26, 54, 93, 0.2) 100%);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.7;
    background: linear-gradient(45deg, #ffffff, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 1.6rem;
    width: 30px;
    text-align: center;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
    color: #ffffff;
}

.feature-item span {
    font-size: 1.15rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: none;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn-primary:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.6);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-outline-light::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.5s;
}

.hero-buttons .btn-outline-light:hover::before {
    left: 100%;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 섹션 공통 스타일 */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

/* 카드 스타일 */
.card {
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    background: var(--background-white);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy) !important;
    border-color: var(--accent-color);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

/* 카드 텍스트 - 가독성 향상 */
.card-text {
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 1rem;
    font-weight: 400;
    word-break: keep-all;
    overflow-wrap: break-word;
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.3px;
}

.feature-icon {
    color: #3498db;
}

/* 전공 카드 */
.major-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 5px solid #3498db;
}

.major-card .major-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.major-card .card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.major-card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

/* 자격증 카드 */
.qualification-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 5px solid #27ae60;
    position: relative;
    overflow: hidden;
}

.qualification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.qualification-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.qualification-badge::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    z-index: -1;
    transform: scale(0.8);
}

.qualification-card p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.qualification-details small {
    color: #6c757d;
    font-weight: 400;
}

.process-card {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
}

.process-step {
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* 프로그램 카드 */
.program-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 4px solid #17a2b8;
    transition: all 0.3s ease;
}

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

.program-card .program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.program-card .card-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.program-card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 혜택 섹션 */
.benefit-icon {
    color: white;
    margin-bottom: 1rem;
}

/* 폼 스타일 */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: #ffffff;
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23349adb' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* 버튼 스타일 */
.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    padding: 12px 30px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* 푸터 */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer a:hover {
    color: #3498db !important;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        word-break: keep-all;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        word-break: keep-all;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.4;
        word-break: keep-all;
        padding: 0 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        word-break: keep-all;
        padding: 0 0.5rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
        word-break: keep-all;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem !important;
    }
    
    .process-step {
        margin-bottom: 1rem;
    }
    
    .card-title {
        font-size: 1.15rem;
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .card-text {
        font-size: 0.95rem;
        line-height: 1.7;
        word-break: keep-all;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        word-break: keep-all;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .card-text {
        font-size: 0.9rem;
        line-height: 1.7;
        word-break: keep-all;
    }
    
    .brand-logo img {
        height: 30px;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
}

/* 스크롤 애니메이션 */
@media (prefers-reduced-motion: no-preference) {
    [data-aos] {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
    }
    
    [data-aos].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 로딩 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 호버 효과 */
.major-card:hover .major-icon,
.program-card:hover .program-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.qualification-card:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* 특징 아이콘 색상 */
.text-primary { color: #3498db !important; }
.text-success { color: #27ae60 !important; }
.text-warning { color: #f39c12 !important; }
.text-info { color: #17a2b8 !important; }
.text-danger { color: #e74c3c !important; }

/* 배경색 */
.bg-primary {
    background: linear-gradient(45deg, #3498db, #2980b9) !important;
}

.bg-success {
    background: linear-gradient(45deg, #27ae60, #229954) !important;
}

.bg-info {
    background: linear-gradient(45deg, #17a2b8, #138496) !important;
}

.bg-warning {
    background: linear-gradient(45deg, #f39c12, #e67e22) !important;
}

.bg-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b) !important;
}

.bg-secondary {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d) !important;
}

/* 텍스트 색상 개선 - 더 선명하게 */
.section-subtitle {
    font-size: 1.2rem;
    color: #495057;  /* 더 진한 색으로 */
    margin-bottom: 3rem;
    font-weight: 500;
    line-height: 1.6;
}

.text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

small {
    color: #6c757d;
    font-weight: 500;
}

/* 강조 텍스트 - 더 선명하게 */
.text-primary {
    color: #e74c3c !important;  /* 빨간색으로 변경 */
    font-weight: 700;
}

.text-success {
    color: #27ae60 !important;
    font-weight: 700;
}

.text-warning {
    color: #f39c12 !important;
    font-weight: 700;
}

.text-info {
    color: #17a2b8 !important;
    font-weight: 700;
}

.text-danger {
    color: #e74c3c !important;
    font-weight: 700;
}

/* 링크 색상 개선 */
a.text-decoration-none {
    color: #e74c3c !important;
    font-weight: 600;
}

a.text-decoration-none:hover {
    color: #c0392b !important;
}

/* 섹션 배경색 개선 */
.py-5.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.py-5.bg-primary.text-white {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    position: relative;
    overflow: hidden;
}

.py-5.bg-primary.text-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0, transparent 50%);
    z-index: 1;
}

.py-5.bg-primary.text-white .container {
    position: relative;
    z-index: 2;
}

/* 푸터 로고 스타일 */
.footer-logo {
    height: 32px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
    max-width: 100%;
    display: inline-block;
}

/* 푸터 이미지 컨테이너 */
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 32px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    max-width: 100%;
}

.footer-brand h5 {
    margin: 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

/* 푸터 텍스트 스타일 */
footer .text-light {
    color: #e9ecef !important;
    line-height: 1.6;
}

footer h6 {
    color: #f8f9fa !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 반응형 푸터 이미지 */
@media (max-width: 768px) {
    .footer-logo {
        height: 28px;
        margin-right: 8px;
    }
    
    .footer-brand img {
        height: 28px;
        margin-right: 8px;
    }
    
    .footer-brand h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        height: 24px;
        margin-right: 6px;
    }
    
    .footer-brand img {
        height: 24px;
        margin-right: 6px;
    }
    
    .footer-brand h5 {
        font-size: 1rem;
    }
}

/* 푸터 이미지 고정 크기 및 보호 */
.footer-logo,
.footer-brand img {
    min-height: 24px;
    max-height: 32px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 이미지 로딩 실패 시 대체 스타일 */
.footer-logo::before,
.footer-brand img::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 6px;
    margin-right: 10px;
}

/* 이미지 오류 시 텍스트만 표시 */
.footer-logo[alt]:after,
.footer-brand img[alt]:after {
    content: attr(alt);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-left: 10px;
}

/* 이미지 컨테이너 최적화 */
.brand-logo,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo img,
.footer-logo {
    flex-shrink: 0;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}