/* ================================
   자격증 & 수상 섹션 스타일
   ================================ */

/* Hero 하단 신뢰 배지 섹션 */
.trust-credentials-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.trust-credentials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.trust-credentials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trust-credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.trust-badge-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.trust-badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-badge-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.trust-badge-card:hover::before {
    opacity: 1;
}

.trust-badge-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.trust-badge-card:hover .trust-badge-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.trust-badge-icon-wrapper i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.trust-badge-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.trust-badge-org {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;
    line-height: 1.3;
}

.trust-badge-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* 상세 자격증 섹션 */
.certifications-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

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

.certifications-pretitle {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4b5 100%);
    color: #1e3a8a;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.certifications-title {
    font-size: 2.5rem;
    color: #1e3a8a;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.certifications-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.certifications-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
}

.certifications-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 30px 10px 40px;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #e5e7eb;
}

.certifications-slider::-webkit-scrollbar {
    height: 10px;
}

.certifications-slider::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.certifications-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4b5 100%);
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.certifications-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c9a036 0%, #e8d8a5 100%);
}

.cert-card {
    flex: 0 0 340px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cert-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-image-container {
    width: 100%;
    height: 260px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #d4af37;
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.cert-badge.award {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4b5 100%);
    color: #1e3a8a;
}

.cert-badge.certificate {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: #ffffff;
}

.cert-badge.completion {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
}

.cert-info {
    padding: 25px;
    position: relative;
}

.cert-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 50px;
}

.cert-org {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-org i {
    color: #d4af37;
    font-size: 0.9rem;
}

.cert-date {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-date i {
    color: #d4af37;
    font-size: 0.8rem;
}

/* 라이트박스 (이미지 확대) */
.cert-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-lightbox.active {
    display: flex;
    opacity: 1;
}

.cert-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cert-lightbox-image {
    width: 100%;
    height: auto;
    display: block;
}

.cert-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cert-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cert-lightbox-info {
    padding: 25px;
    background: #f8f9fa;
    border-top: 3px solid #d4af37;
}

.cert-lightbox-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.cert-lightbox-details {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.cert-lightbox-details p {
    margin: 5px 0;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .trust-credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .certifications-title {
        font-size: 2rem;
    }
    
    .cert-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .trust-credentials-section {
        padding: 40px 15px;
    }
    
    .trust-credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .trust-badge-card {
        padding: 20px 15px;
    }
    
    .trust-badge-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .trust-badge-icon-wrapper i {
        font-size: 2.2rem;
    }
    
    .trust-badge-title {
        font-size: 0.9rem;
    }
    
    .trust-badge-org {
        font-size: 0.75rem;
    }
    
    .trust-badge-date {
        font-size: 0.7rem;
    }
    
    .certifications-section {
        padding: 60px 15px;
    }
    
    .certifications-header {
        margin-bottom: 40px;
    }
    
    .certifications-title {
        font-size: 1.7rem;
    }
    
    .certifications-subtitle {
        font-size: 1rem;
    }
    
    .cert-card {
        flex: 0 0 280px;
    }
    
    .cert-image-container {
        height: 220px;
    }
    
    .cert-info {
        padding: 20px;
    }
    
    .cert-title {
        font-size: 1rem;
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .trust-credentials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .trust-badge-card {
        padding: 25px 20px;
    }
    
    .trust-badge-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .trust-badge-icon-wrapper i {
        font-size: 2.5rem;
    }
    
    .trust-badge-title {
        font-size: 1rem;
    }
    
    .trust-badge-org {
        font-size: 0.8rem;
    }
    
    .certifications-title {
        font-size: 1.5rem;
    }
    
    .cert-card {
        flex: 0 0 260px;
    }
    
    .cert-lightbox-content {
        max-width: 95%;
    }
}
