@charset "UTF-8";

/* 기본 색상 및 테마 설정 */
:root {
    --primary-color: #003366; 
    --highlight-color: #d90000; 
    --dropdown-bg: #ffffff;
    --dropdown-hover: #f1f5f9;
    
    --primary-blue: #1a73e8;
    --nav-blue: #2b70c9;
    --dark-navy: #0d1b2a;
    --hero-gradient: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    --text-dark: #202124;
    --text-gray: #5f6368;
    --bg-light: #f8f9fa;
    --border-color: #dadce0;
}

body {
    font-family: 'Noto Sans KR', 'Google Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* =========================================================
   1. GNB 네비게이션 마우스 오버 시 강조색 (빨간색 적용)
   ========================================================= */
.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #e53935 !important; /* 선명하고 세련된 레드 컬러 (#e53935) */
}

/* 드롭다운 메뉴 항목 호버 시에도 빨간색 통일 */
.dropdown-menu a:hover {
    color: #e53935 !important;
    background-color: #fef2f2 !important; /* 연한 붉은빛 배경 */
}

/* =========================================
   새로운 헤더(네비게이션) 영역 디자인
   ========================================= */
.header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 1행: 기업인증 로고 영역 (화면 줄임 시 완벽 중앙 정렬 고정) */
.header-top {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    justify-content: center !important; /* 자식 요소를 무조건 가로 중앙 정렬 */
    align-items: center !important;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

.certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.cert-img {
    height: 75px;
    max-width: 100%; /* 화면 축소 시 부모 영역을 벗어나지 않도록 방지 */
    object-fit: contain;
    display: block;
    margin: 0 auto !important; /* 이미지 자체의 좌우 마진을 강제 중앙 배치 */
}

/* 2행: 회사 로고 + GNB 가로 정렬 컨테이너 */
.header-bottom {
    background-color: #ffffff;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* 로고 좌측, 메뉴 우측 끝 배열 */
    align-items: center;
    padding: 0 20px;
}

/* 회사 로고 스타일 */
.logo-img {
    height: 45px; /* 2행 회사 로고 크기 설정 */
    object-fit: contain;
    display: block;
}

/* GNB 메뉴 나열 */
.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-left: 50px; /* 로고와 첫 메뉴 사이의 가로 여백 */
}

.nav-item {
    position: relative; /* 하위 드롭다운 기준점 */
}

.nav-link {
    display: block;
    padding: 22px 0; /* 메뉴의 클릭 세로 영역 확보 */
    font-size: 16px; /* 한 줄에 조화롭게 들어가도록 폰트 소폭 축소 */
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap; /* 메뉴 글자가 밑으로 깨지는 것을 방지 */
    transition: color 0.2s ease, font-weight 0.2s ease;
}

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

/* 공공기관우선구매 메뉴 강조 */
.nav-item.highlight .nav-link {
    color: var(--highlight-color);
    font-weight: 700;
}

/* 하위 드롭다운 메뉴 스타일 */
.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dropdown-bg);
    min-width: 190px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-color);
    z-index: 1001;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    color: #444;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--dropdown-hover);
    color: var(--primary-color);
    font-weight: 500;
}

/* =========================================
   기존 qnq-mro 본문 영역 디자인
   ========================================= */
.hero {
    background: var(--hero-gradient);
    color: white;
    text-align: center;
    padding: 120px 20px;
}
.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px 0;
}
.hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-primary:hover {
    background-color: #1557b0;
}
.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
}
.section-desc {
    font-size: 17px;
    color: var(--text-gray);
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}
.card p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

.bg-light {
    background-color: var(--bg-light);
}
.form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="file"], textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}
textarea {
    height: 120px;
    resize: vertical;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px 0;
}
.checkbox-group label {
    margin: 0;
    font-weight: 400;
    color: var(--text-gray);
}
.btn-submit {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover {
    background-color: #1557b0;
}

footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-gray);
}
.footer-info {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.cert-marks {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 20px;
}


/* =========================================
   모바일 반응형 최적화 (헤더 및 GNB 본문 통합)
   ========================================= */
@media (max-width: 992px) {
    /* 모바일 헤더 반응형 (중앙 유지 보정) */
    .header-top {
        padding: 10px 15px;
        justify-content: center !important;
    }
    .cert-img {
        height: auto;
        max-height: 80px; /* 모바일/작은 화면 비율에 맞춘 이미지 세로 최댓값 */
        max-width: 100%;
        margin: 0 auto !important; /* 작은 화면에서도 좌측 치우침 방지 */
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    .logo-img {
        height: 50px;
        margin-bottom: 10px;
    }
    
    /* GNB 전체 컨테이너 */
    .nav-list {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    /* ★ 1행: 4개 대메뉴 (회사소개, 사업소개, 제품소개, 공공기관우선구매) 25%씩 균등 정렬 */
    .nav-item:not(.nav-btn-wrap) {
        flex: 0 0 25% !important;
        max-width: 25%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 13.5px; /* 4개가 한 줄에 깔끔하게 들어가도록 폰트 크기 조정 */
        padding: 10px 2px;
        text-align: center;
        white-space: nowrap;
    }
    
    /* ★ 2행: 상담문의(상담 신청) 버튼 가로 100% 전체 너비 채우기 */
    .nav-btn-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px;
    }
    
    .nav-list .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 0;
    }

    /* 드롭다운 메뉴 숨김 유지 */
    .dropdown-menu,
    .nav-item:hover .dropdown-menu {
        display: none !important;
    }
    
    /* 본문 반응형 */
    .card-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-group {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* =========================================
   서브페이지 공통 히어로 & LNB (로컬 네비게이션 탭)
   ========================================= */


/* 시각장애인 접근성을 위한 숨김 텍스트 클래스 */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* 탭 메뉴 전체를 감싸는 바 */
.sub-lnb {
    width: 100%;
    background-color: #bde7f4; /* 첫 번째 이미지의 밝은 스카이블루 배경색 근사치 */
    border-bottom: 1px solid #dae1e6;
}

.lnb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* 가로로 나란히 배치 */
    justify-content: center;
}

/* 개별 탭 메뉴 스타일 */
.lnb-item {
    flex: 1; /* 6개의 메뉴가 동일한 너비를 가짐 */
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    border-right: 1px solid rgba(255, 255, 255, 0.5); /* 탭 사이의 하얀색 구분선 */
    transition: background-color 0.2s, color 0.2s;
}

.lnb-item:last-child {
    border-right: none; /* 마지막 오시는길 탭 우측에는 선 없음 */
}

/* ★ 현재 보고 있는 페이지(활성화된 탭) 스타일 */
.lnb-item.active {
    background-color: #eff3f6; /* 예제 이미지의 밝은 회백색 톤 */
    color: #222;
    font-weight: 700;
}

/* 마우스를 올렸을 때 살짝 진해지는 효과 */
.lnb-item:hover:not(.active) {
    background-color: #a8dcf0; 
    color: #222;
}

/* --- 모바일 반응형 (화면이 작아졌을 때) --- */
@media (max-width: 768px) {
    .sub-hero-visual {
        height: 150px; /* 모바일에서는 이미지 배너 높이를 줄임 */
    }
    .lnb-container {
        flex-wrap: wrap; /* 6개가 다 안 들어가면 줄바꿈 처리 */
    }
    .lnb-item {
        flex: 1 1 33.33%; /* 모바일에서는 3개씩 2줄로 깔끔하게 배치 */
        font-size: 14px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
    .lnb-item:nth-child(3n) {
        border-right: none;
    }
}

/* =========================================
   연혁 타임라인 전용 스타일 (about-history)
   ========================================= */
.timeline-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background: #e0e6ed;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-blue, #4da6e7);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #e0e6ed;
    z-index: 1;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue, #4da6e7);
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 5px;
}

.timeline-content {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

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

.timeline-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.timeline-content li:last-child {
    margin-bottom: 0;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue, #4da6e7);
    font-weight: bold;
}

/* ==========================================================
   인증서 페이지 (about-cert.html) 전용 스타일 (중앙 정렬 보정)
   ========================================================== */

/* 카테고리 탭 버튼 */
.cert-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.cert-tab-btn {
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cert-tab-btn:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.cert-tab-btn.active {
    background-color: #004b93;
    border-color: #004b93;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 75, 147, 0.25);
}

.cert-tab-count {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 4px;
}

/* 인증서 카운트 요약 바 */
.cert-summary-bar {
    text-align: right;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.cert-summary-bar strong {
    color: #004b93;
}

/* 인증서 그리드 레이아웃 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* 인증서 카드 스타일 */
.cert-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    box-sizing: border-box;
    text-align: center !important; /* 카드 전체 기본 중앙 정렬 */
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    border-color: #004b93;
}

.cert-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* A4 비율 */
    background-color: #f8fafc;
    overflow: hidden;
    box-sizing: border-box;
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-img-wrapper img {
    transform: scale(1.04);
}

/* 마우스 호버시 제목 표출 오버레이 (완벽한 중앙 정렬 보정) */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.88);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center !important;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
    box-sizing: border-box; /* 여백으로 인한 우측 쏠림 방지 */
}

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

.cert-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 10px;
    color: #60a5fa;
    font-weight: 600;
    text-align: center !important;
}

.cert-overlay-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
    margin-bottom: 12px;
    text-align: center !important;
    width: 100%;
}

.cert-overlay-action {
    font-size: 12px;
    background-color: #ffffff;
    color: #004b93;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 대체 이미지 카드 (이미지 로드 전/실패 시 중앙 정렬 보정) */
.cert-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: #f1f5f9;
    color: #64748b;
    text-align: center !important;
    box-sizing: border-box; /* 여백으로 인한 우측 쏠림 방지 */
}

.cert-placeholder-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.6;
    text-align: center !important;
    width: 100%;
}

.cert-placeholder-text {
    font-size: 13px;
    font-weight: 500;
    word-break: keep-all;
    line-height: 1.4;
    text-align: center !important;
    width: 100%;
}

/* 이미지 확대 모달(팝업) 스타일 */
.cert-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
}

.cert-modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.cert-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 92vh;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: certModalZoom 0.25s ease-out;
    box-sizing: border-box;
}

@keyframes certModalZoom {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cert-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #1e293b;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    line-weight: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cert-modal-close:hover {
    background: #f1f5f9;
    color: #ef4444;
}

.cert-modal-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.cert-modal-caption {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-align: center !important;
}

.cert-modal-tip {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    text-align: center !important;
}

/* 모바일 반응형 조정 */
@media (max-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cert-tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* =========================================
   사업실적 페이지 전용 스타일 (300px 카드 사이즈)
   ========================================= */

/* 로고 그리드 레이아웃 (300px 폭 기준 균등 배치) */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* 로고 카드 디자인 */
.perf-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: relative;
    height: 190px;
    box-sizing: border-box;
}

.perf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 51, 102, 0.12);
    border-color: var(--primary-color, #003366);
}

.perf-card-img-wrap {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.perf-card-img-wrap img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.perf-card:hover .perf-card-img-wrap img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.perf-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark, #202124);
    line-height: 1.3;
    word-break: keep-all;
}

.perf-card-badge {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-blue, #1a73e8);
    background-color: #e8f0fe;
    padding: 3px 10px;
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s;
}

.perf-card:hover .perf-card-badge {
    background-color: var(--primary-color, #003366);
    color: #ffffff;
}


/* --- 사업실적 상세 모달 팝업 --- */
.perf-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.perf-modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.perf-modal-content {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 30px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: perfModalZoom 0.25s ease-out;
    box-sizing: border-box;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

@keyframes perfModalZoom {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.perf-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.perf-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.perf-modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.perf-modal-logo-wrap {
    width: 170px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.perf-modal-logo-wrap img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.perf-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #003366);
    margin: 0;
}

.perf-modal-body {
    padding-top: 20px;
    overflow-y: auto;
}

.perf-modal-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 12px 0;
}

.perf-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perf-modal-list li {
    position: relative;
    padding: 10px 14px 10px 28px;
    margin-bottom: 8px;
    background-color: #f8fafc;
    border-radius: 6px;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
    border-left: 3px solid var(--primary-blue, #1a73e8);
}

.perf-modal-list li::before {
    content: '✔';
    position: absolute;
    left: 10px;
    top: 10px;
    color: var(--primary-blue, #1a73e8);
    font-size: 12px;
}

/* 모바일 반응형 조정 */
@media (max-width: 1024px) {
    .perf-grid {
        grid-template-columns: repeat(3, 1fr); /* 태블릿 크기: 3열 */
    }
}
@media (max-width: 768px) {
    .perf-grid {
        grid-template-columns: repeat(2, 1fr); /* 모바일 크기: 2열 */
        gap: 14px;
    }
)
    .perf-card {
        height: 150px;
        padding: 16px 10px;
    }
    .perf-card-img-wrap {
        height: 55px;
    }
    .perf-card-title {
        font-size: 13px;
    }
    .perf-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   오시는 길 (Google Map & 가운데 정렬 텍스트)
   ========================================================================== */

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.location-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    width: 100%;
    height: 360px;
    background-color: #e9ecef;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 텍스트 상자 영역 - 가운데 정렬 적용 */
.location-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 내부 요소 중앙 정렬 */
    text-align: center;  /* 텍스트 중앙 정렬 */
}

.location-title {
    margin: 0 0 16px 0;
    color: #0056b3;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #f1f3f5;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    width: 100%;
    text-align: center;
}

.info-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 8px;
    word-break: keep-all;
    text-align: center;
}

.info-list li strong {
    color: #111111;
    display: inline;
    margin-right: 4px;
}

/* 카카오맵 & 네이버지도 버튼 그룹 */
.map-btn-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px; /* 버튼 그룹 폭 균형 조절 */
    margin: 0 auto;
}

.btn-map {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-kakao {
    background-color: #FEE500;
    color: #191919;
    border: 1px solid #f2db00;
}

.btn-kakao:hover {
    background-color: #fada0a;
}

.btn-naver {
    background-color: #03C75A;
    color: #ffffff;
    border: 1px solid #02b350;
}

.btn-naver:hover {
    background-color: #02b350;
}

@media (max-width: 600px) {
    .map-wrapper {
        height: 280px;
    }

    .map-btn-group {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   네비게이션 앵커(#mro) 스크롤 위치 보정
   ========================================================================== */

#mro {
    scroll-margin-top: 180px; /* 헤더 높이에 맞춘 스크롤 여백 */
}

/* 상단 빈 히어로 영역 숨기기 (필요 없는 경우) */
.sub-hero-visual {
    display: none;
}

/* =========================================
   서브 LNB (탭 메뉴 바) 대메뉴별 배경색 설정
   ========================================= */
.sub-lnb.bg-about {
    background-color: #bde7f4; /* 회사소개 - 하늘색 */
}

.sub-lnb.bg-business {
    background-color: #f7c7ac; /* 사업소개 - 살구색 */
}

.sub-lnb.bg-product {
    background-color: #b5e6a2; /* 제품소개 - 연두색 (#b5e6a2) */
}

.sub-lnb.bg-csr {
    background-color: #f4e58e; /* 사회공헌 - 노란색 */
}

.sub-lnb.bg-support {
    background-color: #e49edd; /* 고객센터 - 보라/분홍색 */
}

/* =========================================
   GNB 상담 신청 버튼 스타일 (수정완료)
   ========================================= */
.nav-list {
  display: flex;
  align-items: center; /* 수직 중앙 정렬 */
}

.nav-list .nav-btn-wrap {
  margin-left: 10px; /* 기존 메뉴와의 간격 */
}

.nav-list .btn-contact {
  display: inline-block;
  background-color: #2b72d2; /* 요청하신 파란색 배경 */
  color: #ffffff !important;  /* 흰색 글씨 강제 적용 */
  padding: 16px 20px;       /* 버튼 내부 여백 */
  border-radius: 8px;        /* 둥근 모서리 */
  font-weight: 700;          /* 볼드체 */
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

/* 마우스 올렸을 때 효과 */
.nav-list .btn-contact:hover {
  background-color: #1e5bb0;
  color: #ffffff !important;
}

/* =========================================
   기업현황 표 텍스트 전체 가운데 정렬
   ========================================= */
.info-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.info-table th,
.info-table td {
    text-align: center !important;
    vertical-align: middle;
}

/* =========================================
   서브 LNB (탭 메뉴 바) 가로 정렬 및 스타일 보정
   ========================================= */
.sub-lnb {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.sub-lnb .lnb-list {
    display: flex !important; /* 탭 메뉴 가로 배치를 위한 flex 적용 */
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sub-lnb .lnb-list li {
    flex: 1; /* 8개 메뉴 균등 분배 */
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.4); /* 흰색 구분선 */
}

.sub-lnb .lnb-list li:last-child {
    border-right: none;
}

.sub-lnb .lnb-list li a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

/* 현재 선택된 활성(active) 탭 및 호버 효과 */
.sub-lnb .lnb-list li.active a,
.sub-lnb .lnb-list li a:hover {
    background-color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    color: #000000;
}

/* =========================================
   상단 헤더 가로 정렬 보정
   ========================================= */
.header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* =========================================================
   제품소개(MAS) 탭, 그리드 및 모달 스타일 (certification / performance 호환)
   ========================================================= */

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.product-tab-btn {
  padding: 12px 24px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  cursor: pointer;
  transition: all 0.25s ease;
}

.product-tab-btn:hover {
  border-color: #2b72d2;
  color: #2b72d2;
}

.product-tab-btn.active {
  background-color: #2b72d2;
  border-color: #2b72d2;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(43, 114, 210, 0.25);
}

.product-tab-count {
  font-size: 13px;
  opacity: 0.85;
}

.product-summary-bar {
  background-color: #f8f9fa;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  color: #444;
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.product-summary-bar strong {
  color: #2b72d2;
}

/* 제품 그리드 (4열 배치) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(1, 1fr); }
}

/* 제품 카드 */
.product-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #2b72d2;
}

.product-img-wrap {
  width: 100%;
  height: 200px;
  background-color: #f9f9f9;
  display: flex !important;
  justify-content: center !important; /* 수평 가운데 정렬 */
  align-items: center !important;     /* 수직 가운데 정렬 */
  overflow: hidden;
  padding: 15px;
  box-sizing: border-box;             /* 패딩 포함 크기 계산 */
  text-align: center;                 /* 만약의 inline 요소 대비 */
}

.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto !important;          /* 좌우 기본 여백 제거 및 강제 가운데 정렬 */
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-info {
  padding: 16px 18px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-tag {
  display: inline-block;
  font-size: 12px;
  color: #2b72d2;
  background: #eef5fc;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  word-break: break-all;
  line-height: 1.4;
}

/* =========================================================
   제품 상세 이미지 모달 (상단 문구 & 상단 제품명 정렬)
   ========================================================= */
.product-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.product-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.product-modal-content {
  position: relative;
  background: #ffffff;
  padding: 35px 30px 25px 30px;
  border-radius: 16px;
  width: auto;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.product-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: none; border: none;
  font-size: 36px; color: #666;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: color 0.2s ease;
}

.product-modal-close:hover { color: #000; }

/* 1. 상단 제품명 */
.product-modal-caption {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-top: 10px;
  margin-bottom: 8px;
  text-align: center;
  word-break: break-all;
}

/* 2. 상단 다운로드 안내 문구 */
.product-modal-tip {
  font-size: 13px;
  color: #555;
  background: #f4f6f9;
  padding: 8px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

/* 3. 하단 상세 이미지 */
.product-modal-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* =========================================================
   사회공헌 페이지 (contribution.html) 전용 스타일 추가
   ========================================================= */

.csr-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

/* 1. 상단 대표 소개 배너 (cont-1) */
.csr-hero-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 45px;
}
.csr-hero-img-wrap {
    width: 100%;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}
.csr-hero-img-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.csr-hero-body {
    padding: 30px 25px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.csr-hero-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.csr-hero-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    word-break: keep-all;
    max-width: 900px;
    margin: 0 auto;
}

/* 섹션 소제목 */
.csr-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.csr-section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: #94dcf8; /* 서브메뉴 하늘색 테마 반영 */
    border-radius: 2px;
}

/* 2. 주요 나눔활동 그리드 (3열) (cont-2) */
.csr-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.csr-act-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.csr-act-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.csr-act-icon {
    width: 45px;
    height: 45px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
}
.csr-act-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}
.csr-act-desc {
    font-size: 14.5px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* 이미지 보관용 단일 카드 */
.csr-img-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 45px;
    text-align: center;
}
.csr-img-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 3. 지역사회 후원활동 (기본 흰색 카드 스타일로 변경) */
.csr-support-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.csr-support-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.csr-support-badge {
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
}
.csr-support-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.csr-support-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: keep-all;
}
.csr-support-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.csr-org-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* 4. 사회적기업 & 사회적경제 2열 카드 (cont-4, cont-5) */
.csr-concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}
.csr-concept-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.csr-concept-header {
    background: #f8fafc;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: center !important; /* 헤더 텍스트(배지 및 제목) 중앙 정렬 */
}
.csr-concept-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
    text-align: center !important; /* 영문 배지 중앙 정렬 */
}
.csr-concept-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: center !important; /* 한글 제목 중앙 정렬 */
}
.csr-concept-img {
    width: 100%;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}
.csr-concept-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.csr-concept-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.csr-concept-p {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.7;
    margin: 0;
    word-break: keep-all;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 992px) {
    .csr-activities-grid,
    .csr-concept-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   지역사회 후원활동 중앙 정렬 카드 스타일 (두 번째 이미지 규격)
   ========================================================= */

/* 메인 카운터 상자 */
.csr-support-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #dadce0);
    border-radius: 12px;
    padding: 45px 30px 40px;
    margin-bottom: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    text-align: center; /* 전체 요소 중앙 정렬 */
}

/* 제목 : 지역사회 후원활동 */
.csr-support-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark, #202124);
    margin: 0 0 12px 0;
    text-align: center;
}

/* 정기 후원 뱃지 감싸는 영역 */
.csr-support-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

/* 파란색 둥근 '정기 후원' 뱃지 */
.csr-support-badge {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* 설명 문구 : 장애인의 인권활동과... */
.csr-support-desc {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark, #202124);
    line-height: 1.6;
    margin: 0 auto 35px auto;
    max-width: 800px;
    word-break: keep-all;
    text-align: center;
}

/* 기관 로고 나열 컨테이너 */
.csr-support-orgs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* 개별 기관 로고 이미지 카드 (필요시 이미지 크기 자동 조절) */
.csr-org-card {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    height: 60px;
}

.csr-org-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 모바일 반응형 조정 */
@media (max-width: 768px) {
    .csr-support-box {
        padding: 30px 20px 30px;
    }
    .csr-support-title {
        font-size: 19px;
    }
    .csr-support-desc {
        font-size: 14.5px;
    }
    .csr-support-orgs {
        gap: 20px;
    }
    .csr-org-card {
        max-width: 220px;
        height: 50px;
    }
}

/* =========================================================
   사회공헌 페이지 (contribution.html) cont-3.jpg 원본 크기 표출 및 보정
   ========================================================= */

/* 3. 지역사회 후원활동 (중앙 정렬 통합 카드) */
.csr-support-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #dadce0);
    border-radius: 12px;
    padding: 45px 30px 40px;
    margin-bottom: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    text-align: center;
}

/* 제목 */
.csr-support-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark, #202124);
    margin: 0 0 12px 0;
    text-align: center;
}

/* 정기 후원 뱃지 라인 */
.csr-support-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.csr-support-badge {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* 설명 문구 */
.csr-support-desc {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark, #202124);
    line-height: 1.6;
    margin: 0 auto 35px auto;
    max-width: 800px;
    word-break: keep-all;
    text-align: center;
}

/* ★ cont-3.jpg 원본 크기 표출 핵심 스타일 ★ */
.csr-support-orgs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.csr-org-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

.csr-org-card img {
    /* 기존 크기 제한(높이 60px 제한 등)을 해제하고 원본 해상도대로 표출 */
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transform: none !important;
}

/* 모바일 반응형 대응 */
@media (max-width: 768px) {
    .csr-support-box {
        padding: 30px 20px 30px;
    }
    .csr-support-title {
        font-size: 19px;
    }
    .csr-support-desc {
        font-size: 14.5px;
    }
    .csr-support-orgs {
        gap: 20px;
    }
}

/* =========================================================
   1. GNB 네비게이션 마우스 오버 시 강조색 (빨간색 적용)
   ========================================================= */
.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #e53935 !important; /* 선명하고 세련된 레드 컬러 (#e53935) */
}

/* 드롭다운 메뉴 항목 호버 시에도 빨간색 통일 */
.dropdown-menu a:hover {
    color: #e53935 !important;
    background-color: #fef2f2 !important; /* 연한 붉은빛 배경 */
}

/* =========================================================
   2. 모바일 반응형 최적화 (992px 이하)
   ========================================================= */
@media (max-width: 992px) {
    /* 모바일 헤더 패딩: 좌우 여백을 14px로 미세 조정하여 메뉴 공간 추가 확보 */
    .header-top {
        padding: 10px 14px;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 14px !important;
    }
    
    .logo-img {
        height: 35px;
        margin-bottom: 12px;
    }
    
    /* GNB 컨테이너: 1행 4개 메뉴 간격을 균등하게 분배 */
    .nav-list {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between !important; /* 모든 메뉴 사이 간격을 균등 배치 */
        align-items: center;
    }
    
    /* ★ 1행 4개 메뉴: 고정 25% 해제 -> 글자 크기에 맞추고 균등 간격 배치 */
    .nav-item:not(.nav-btn-wrap) {
        flex: 0 0 auto !important; /* 고정 25% 제거 */
        max-width: none !important;
        text-align: center;
    }
    
    .nav-link {
        font-size: 13px !important;       /* 모바일 최적 글꼴 크기 */
        letter-spacing: -0.6px;           /* 자간을 살짝 조여 긴 글자 폭 압축 */
        padding: 8px 2px !important;
        text-align: center;
        white-space: nowrap;
    }
    
    /* ★ 2행 상담문의 버튼: 100% 가로 확장 유지 */
    .nav-btn-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 12px;
    }
    
    .nav-list .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 0;
    }

    /* 모바일 드롭다운 숨김 유지 */
    .dropdown-menu,
    .nav-item:hover .dropdown-menu {
        display: none !important;
    }
}