/*
EZ TECHLE - Company Page Refined Design
*/

/* ---------------------------------------------
   01. Reset & Fonts
--------------------------------------------- */
@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap");
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0; padding: 0; border: 0; outline: 0;
}

* { box-sizing: border-box; }

html, body {
  font-family: 'Pretendard', 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  color: #334155;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { text-decoration: none !important; color: inherit; transition: all 0.3s; }
ul, li { list-style: none; padding: 0; margin: 0; }

/* ---------------------------------------------
   02. Global Components
--------------------------------------------- */
:root {
  --primary-blue: #2563eb;
  --primary-dark: #0f172a;
  --accent-sky: #38bdf8;
  --text-dark: #1e293b;
  --text-gray: #475569; /* 가독성을 위해 조금 더 진하게 변경 */
  --bg-light: #f1f5f9;  /* 섹션 배경용 연한 회색 */
}

.snap-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 100px 0;
}

/* [최종 수정] 메인 배너 스타일 & 레이어 순서 복구 */
.main-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0 !important;
  background-color: #000;
  z-index: 1;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5); /* 오버레이 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.caption {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 10; /* 텍스트를 최상단으로 */
}

.caption h6 {
  font-size: 20px;
  font-weight: 500;
  color: #cbd5e1; /* 연한 회색 */
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.caption h2 {
  font-size: 64px; /* 폰트 크기 키움 */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #ffffff;
}

/* ★ 이 부분이 빠져서 스타일이 밋밋했던 것입니다 ★ */
.caption h2 em {
  font-style: normal;
  color: #38bdf8; /* 포인트 컬러 (스카이 블루) */
  font-weight: 900;
}

/* 모바일 대응 */
@media (max-width: 767px) {
  .caption h2 {
    font-size: 40px;
  }
  .caption h6 {
    font-size: 16px;
  }
}

.section-heading { text-align: center; margin-bottom: 60px; width: 100%; }
.section-heading h2 { font-size: 42px; font-weight: 800; color: var(--text-dark); text-transform: uppercase; margin-bottom: 20px; letter-spacing: -1px; }
.section-heading h2 em { font-style: normal; color: var(--primary-blue); }
.section-heading p { font-size: 18px; color: var(--text-gray); line-height: 1.8; max-width: 800px; margin: 0 auto; word-break: keep-all; }

/* Dark BG Variant */
.dark-bg { background-color: var(--primary-dark); }
.dark-bg .section-heading h2 { color: #fff; }
.dark-bg .section-heading p { color: #cbd5e1; }

/* ---------------------------------------------
   03. Header (Fixed)
--------------------------------------------- */
.header-area {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.header-area .main-nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.header-area .logo { display: flex; align-items: center; font-size: 24px; font-weight: 800; color: var(--primary-dark); text-transform: uppercase; }
.header-area .nav { display: flex; align-items: center; }
.header-area .nav li { padding: 0 15px; }
.header-area .nav li a { display: block; font-size: 17px; font-weight: 700; color: #333; height: 80px; line-height: 80px; }
.header-area .nav li a:hover, .header-area .nav li a.active { color: var(--primary-blue); }
.header-area .menu-trigger { display: none; cursor: pointer; position: absolute; right: 20px; top: 25px; }
.header-area .menu-trigger span { width: 30px; height: 2px; background-color: #333; display: block; margin-bottom: 6px; }

@media (max-width: 991px) {
  .header-area .nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
  .header-area .nav li { padding: 0; width: 100%; text-align: center; border-bottom: 1px solid #eee; }
  .header-area .nav li a { height: 50px; line-height: 50px; }
  .header-area .menu-trigger { display: block; }
  .snap-section { height: auto; padding: 80px 0; }
}

/* ---------------------------------------------
   04. Company Page Specifics
--------------------------------------------- */

/* [수정 1] Hero Section */
.company-hero {
  /* 사용자가 요청한 Image_fx.png로 변경 (파일 없으면 검은 배경) */
  background: url('../images/Image_fx.png') center/cover no-repeat;
  background-color: #111; /* 이미지 로딩 전 배경색 */
  position: relative;
  display: flex; align-items: center;
}
.company-hero-overlay {
  /* 글자 잘 보이게 아주 진한 그라데이션 적용 */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
  width: 100%; height: 100%; display: flex; align-items: center;
}
.company-hero-caption {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 텍스트 그림자 추가 */
}
.company-hero h2 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.company-hero-text { font-size: 20px; opacity: 0.9; line-height: 1.6; max-width: 700px; }


/* [수정 2] Who We Are */
#features {
  background-color: var(--bg-light); /* 배경색 추가로 허전함 해결 */
}
.about-list li {
  font-size: 18px; margin-bottom: 18px; display: flex; align-items: flex-start;
  font-weight: 500; color: var(--text-dark);
}
.about-list i { color: var(--primary-blue); margin-right: 12px; margin-top: 5px; }

.company-card {
  background: #fff; border-radius: 16px; padding: 35px; margin-bottom: 25px;
  /* 그림자 강화 */
  box-shadow: 0 10px 25px rgba(0,0,0,0.07); 
  border-left: 6px solid var(--primary-blue);
  transition: transform 0.3s;
}
.company-card:hover { transform: translateY(-5px); }
.company-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text-dark); }
.company-card p { font-size: 16px; color: var(--text-gray); margin: 0; line-height: 1.6; }


/* [수정 3] Business Area (Tabs) */
#tabs .main-rounded-button a { background: var(--primary-dark); }
/* 탭 메뉴 글자 크기 확대 */
#tabs ul li a { 
  font-size: 20px; font-weight: 700; padding: 25px; 
  background: #fff; border-radius: 10px; margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: block;
}
#tabs ul li a.active, #tabs ul li a:hover { 
  color: #fff; background-color: var(--primary-blue); /* 활성 시 배경색 변경으로 강조 */
}
#tabs ul li a i { margin-right: 15px; width: 25px; text-align: center; }

/* 탭 이미지 잘림 해결 */
.tabs-content article img { 
  width: 100%; 
  height: 400px; /* 높이 고정 */
  object-fit: cover; /* 비율 유지하며 꽉 채우기 (잘릴 수 있음) */
  /* 만약 이미지가 다 보여야 한다면 object-fit: contain; 으로 변경 */
  border-radius: 12px; margin-bottom: 30px; 
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.tabs-content h4 { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); }
.tabs-content p { font-size: 17px; line-height: 1.8; color: var(--text-gray); }


/* [수정 4] History */
/* =========================================
   [최종 수정 V3] History Section (강제 5:5 분할)
   ========================================= */

/* 1. 공통 폰트 및 스타일 */
.history-year-title h3 {
    font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 40px; line-height: 1;
}
.history-year-title .badge {
    font-size: 14px; font-weight: 600; color: #94a3b8; border: 1px solid #64748b;
    padding: 5px 10px; border-radius: 20px; vertical-align: middle; margin: 0 10px;
}
.history-year-title .badge.blue { color: #38bdf8; border-color: #38bdf8; }

.history-item { margin-bottom: 50px; position: relative; }
.history-item strong { display: block; font-size: 18px; color: #fff; margin-bottom: 4px; }
.history-item p { font-size: 15px; color: #94a3b8; margin: 0; line-height: 1.5; }
.history-item .month {
    font-size: 16px; font-weight: 700; color: #38bdf8; margin-bottom: 5px; display: inline-block;
}

/* =========================================
   [PC 화면: 992px 이상] - 데칼코마니 구현
   ========================================= */
@media (min-width: 992px) {
    /* 왼쪽 박스 (2024년) */
    .left-part {
        text-align: right;          /* 글자를 오른쪽으로 밈 */
        padding-right: 60px;        /* 선과 글자 사이 간격 */
        border-right: 2px solid rgba(255, 255, 255, 0.2); /* ★이게 중앙선입니다★ */
    }

    /* 오른쪽 박스 (2025년) */
    .right-part {
        text-align: left;           /* 글자를 왼쪽으로 밈 */
        padding-left: 60px;         /* 선과 글자 사이 간격 */
    }

    /* [점 찍기] */
    /* 왼쪽 점: 오른쪽 선 위에 위치 */
    .left-part .history-item::after {
        content: ""; position: absolute;
        top: 8px;
        right: -70px; /* (padding 60px + 선두께/점크기 보정) */
        width: 18px; height: 18px;
        background: #0f172a; border: 4px solid #fff; border-radius: 50%;
        z-index: 2;
    }

    /* 오른쪽 점: 왼쪽 선 위에 위치 */
    .right-part .history-item::after {
        content: ""; position: absolute;
        top: 8px;
        left: -70px; /* (padding 60px + 선두께/점크기 보정) */
        width: 18px; height: 18px;
        background: #38bdf8; border: 4px solid #0f172a; border-radius: 50%;
        z-index: 2;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.6); /* 파란 점은 빛나게 */
    }
}

/* =========================================
   [모바일 화면: 991px 이하] - 일반 리스트로 변경
   ========================================= */
@media (max-width: 991px) {
    .left-part {
        border-right: none;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        text-align: left;
        padding-left: 40px;
        margin-bottom: 50px;
    }
    
    .right-part {
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        text-align: left;
        padding-left: 40px;
    }

    /* 모바일 점 위치 (왼쪽 선 위로) */
    .left-part .history-item::after,
    .right-part .history-item::after {
        content: ""; position: absolute;
        top: 5px; left: -50px;
        width: 18px; height: 18px;
        background: #0f172a; border: 4px solid #fff; border-radius: 50%;
    }
    .right-part .history-item::after {
        background: #38bdf8; border-color: #0f172a;
    }
}


/* Footer & Preloader */
footer { padding: 40px 0; background: #fff; text-align: center; border-top: 1px solid #eee; }
footer p { font-size: 14px; color: var(--text-gray); margin: 0; }
#js-preloader { background: var(--primary-dark); position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.js-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner .dot { width: 16px; height: 16px; background: var(--primary-blue); border-radius: 50%; }
.preloader-inner .dots span { background: #fff; }

/* [수정] 다크 모드 섹션(History 등) 텍스트 색상 강제 교정 */
.section-heading.dark-bg h2 {
  color: #ffffff !important; /* 제목(Company)을 흰색으로 */
}

.section-heading.dark-bg p {
  color: #cbd5e1 !important; /* 설명글을 연한 회색으로 */
}

/* 1. 드롭다운 기본 설정 */
.header-area .nav li {
    position: relative; /* 하위 메뉴의 기준점 */
}

/* 2. 하위 메뉴 박스 (평소엔 숨김) */
.header-area .nav li .sub-menu {
    position: absolute;
    top: 100%;     /* 메뉴 바로 아래 위치 */
    left: 0;
    width: 200px;  /* 하위 메뉴 너비 */
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 그림자 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* 살짝 아래에서 올라오는 효과 */
    transition: all 0.3s ease;
    border-radius: 0 0 8px 8px; /* 아래쪽 둥글게 */
    padding: 10px 0;
    z-index: 9999;
}

/* 3. 마우스 올렸을 때 (Hover) 나타나기 */
.header-area .nav li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 4. 하위 메뉴 아이템 스타일 */
.header-area .nav li .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f1f5f9; /* 구분선 */
}

.header-area .nav li .sub-menu li:last-child {
    border-bottom: none;
}

.header-area .nav li .sub-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    padding: 12px 20px;
    display: block;
    line-height: 1.5;
    height: auto; /* 기존 높이 강제 해제 */
    text-align: left;
    background: transparent;
    transition: all 0.2s;
}

/* 5. 하위 메뉴 마우스 올렸을 때 색상 */
.header-area .nav li .sub-menu li a:hover {
    color: #2563eb; /* EZ TECHLE 블루 */
    background-color: #eff6ff; /* 연한 블루 배경 */
    padding-left: 25px; /* 살짝 오른쪽으로 이동 효과 */
}

/* 6. 모바일 대응 (모바일에서는 드롭다운 대신 그냥 펼쳐 보이게) */
@media (max-width: 991px) {
    .header-area .nav li .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f8fafc;
        display: none; /* 일단 숨김, JS로 토글하거나 항상 보이게 설정 가능 */
        padding: 0;
    }
    
    .header-area .nav li:hover .sub-menu {
        display: block; /* 모바일에서 터치 시 보임 */
    }
    
    .header-area .nav li .sub-menu li a {
        padding: 10px 30px;
        font-size: 13px;
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;          /* 바닥에서 40px 띄움 */
    left: 50%;
    transform: translateX(-50%); /* 정확한 가로 중앙 정렬 */
    z-index: 100;          /* 비디오나 배경보다 무조건 위에 오도록 */
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite; /* 2초마다 튕기는 애니메이션 */
    cursor: pointer;
    text-align: center;
    opacity: 0.9;
}

/* 화살표 아이콘 색상 및 크기 */
.scroll-down i {
    display: block;
    font-size: 28px;
    margin-top: 10px;
    color: #38bdf8; /* 포인트 컬러 (스카이 블루) */
}

/* 튕기는 효과 정의 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* =========================================
   [New] ABB Global Style (Industrial & Clean)
   ========================================= */

/* 1. 상단 '회사소개 보러가기' 텍스트 버튼 */
.abb-link-btn {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    padding-bottom: 2px;
}
.abb-link-btn:hover {
    color: #000;
    border-bottom: 2px solid #000; /* 호버 시 검은색 밑줄 */
}
.abb-link-btn i { margin-left: 8px; font-size: 14px; }


/* 2. 카드 디자인 (박스 형태) */
.abb-card {
    background: #fff;
    width: 100%;
    height: 100%;
    position: relative;
    border: none;
    border-radius: 0; /* ★ 핵심: 둥근 모서리 제거 (직각) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* 호버 효과: 살짝 뜨면서 그림자 */
.abb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 이미지 영역 */
.abb-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}
.abb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* 호버 시 이미지 확대 */
.abb-card:hover .abb-img img {
    transform: scale(1.05);
}

/* 텍스트 컨텐츠 영역 */
.abb-content {
    padding: 30px;
    position: relative;
    border-bottom: 3px solid transparent; /* 하단 라인 공간 확보 */
    transition: border-color 0.3s;
}

/* 호버 시 하단에 파란색 라인 생성 (ABB 스타일) */
.abb-card:hover .abb-content {
    border-bottom: 3px solid #2563eb;
}

.abb-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.abb-content p.kor-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px; /* 아이콘 공간 확보 */
    word-break: keep-all;
    min-height: 72px; /* 줄 수 맞춤 */
}

/* 우측 하단 '+' 아이콘 */
.read-more {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: #f4f4f4;
    border-radius: 50%; /* 아이콘만 원형 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: all 0.3s;
}

.abb-card:hover .read-more {
    background: #2563eb;
    color: #fff;
    transform: rotate(90deg); /* 호버 시 회전 효과 */
}

/* 카드 전체 클릭 가능하게 만들기 */
.full-link {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index: 10;
}

/* =========================================
   [New] Index Page Styles (ABB & Industrial)
   ========================================= */

/* --- [Section 2] Business Areas (ABB Style) --- */
.abb-link-btn {
    font-size: 16px; font-weight: 700; color: #2563eb;
    text-decoration: none; border-bottom: 2px solid transparent;
    transition: all 0.3s; padding-bottom: 2px;
}
.abb-link-btn:hover { color: #000; border-bottom: 2px solid #000; }
.abb-link-btn i { margin-left: 8px; font-size: 14px; }

.abb-card {
    background: #fff; width: 100%; height: 100%; position: relative;
    border: none; border-radius: 0; /* 직각 디자인 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; display: flex; flex-direction: column;
}
.abb-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.abb-img { width: 100%; height: 220px; overflow: hidden; position: relative; }
.abb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.abb-card:hover .abb-img img { transform: scale(1.05); }

.abb-content {
    padding: 30px; position: relative; flex: 1;
    border-bottom: 3px solid transparent; transition: border-color 0.3s;
}
.abb-card:hover .abb-content { border-bottom: 3px solid #2563eb; }

.abb-content h3 { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 15px; }
.abb-content p.kor-text { font-size: 15px; color: #64748b; line-height: 1.6; word-break: keep-all; margin-bottom: 30px; }

.read-more {
    position: absolute; bottom: 20px; right: 20px;
    width: 35px; height: 35px; background: #f4f4f4; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #2563eb;
    transition: all 0.3s;
}
.abb-card:hover .read-more { background: #2563eb; color: #fff; transform: rotate(90deg); }
.full-link { position: absolute; top:0; left:0; width:100%; height:100%; z-index: 10; }


/* --- [Section 3] Why Us (Feature Box) --- */
.feature-box {
    background: #fff; padding: 30px; border: 1px solid #e2e8f0;
    transition: all 0.3s; height: 100%;
}
.feature-box:hover { border-color: #2563eb; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05); }

.feature-box .icon {
    width: 50px; height: 50px; background: rgba(37, 99, 235, 0.1);
    color: #2563eb; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 20px; margin-bottom: 20px;
}
.feature-box h4 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.feature-box p { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; word-break: keep-all; }


/* --- [Section 4] Partners Grid --- */
.partner-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.partner-item {
    padding: 15px 30px; background: #fff; border: 1px solid #e2e8f0;
    color: #94a3b8; font-weight: 700; font-size: 18px; text-transform: uppercase;
    border-radius: 4px; transition: all 0.3s;
}
.partner-item:hover {
    color: #2563eb; border-color: #2563eb; transform: translateY(-3px);
}

/* 모바일 대응 */
@media (max-width: 991px) {
    .abb-img { height: 200px; }
    .partner-grid { gap: 10px; }
    .partner-item { font-size: 14px; padding: 10px 20px; }
}

/* [추가] 5개 컬럼을 한 줄에 배치하기 위한 스타일 */
@media (min-width: 992px) {
    .col-lg-custom-5 {
        flex: 0 0 20%;       /* 너비를 정확히 20%로 설정 (100% / 5개) */
        max-width: 20%;
        padding: 0 10px;     /* 카드 사이 간격 조절 */
    }
}

/* 카드 내부 여백 및 폰트 크기 미세 조정 (5개라 좁아지므로) */
.col-lg-custom-5 .abb-card .abb-content {
    padding: 20px;       /* 내부 여백을 조금 줄임 */
}
.col-lg-custom-5 .abb-card h3 {
    font-size: 18px;     /* 제목 크기를 살짝 줄여서 두 줄 방지 */
    margin-bottom: 10px;
}
.col-lg-custom-5 .abb-card p.kor-text {
    font-size: 13px;     /* 본문 글자 크기 조정 */
    margin-bottom: 20px;
}
.col-lg-custom-5 .abb-img {
    height: 180px;       /* 이미지 높이를 살짝 줄여 균형 맞춤 */
}

/* =========================================
   [New] Partners Section (Premium Dark)
   ========================================= */

/* 파트너 박스 스타일 */
.partner-box {
    background: rgba(255, 255, 255, 0.03); /* 아주 투명한 배경 */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 얇은 테두리 */
    height: 120px; /* 높이를 키워서 꽉 차 보이게 함 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* 텍스트 스타일 (로고처럼 보이게) */
.partner-name {
    font-size: 16px;       /* 기존 18px -> 16px로 축소 (한 줄에 넣기 위함) */
    font-weight: 700;      /* 800 -> 700 (너무 굵어서 뭉개지는 것 방지) */
    color: #cbd5e1;        /* 텍스트 색상을 조금 더 밝은 회색으로 변경 (가독성 UP) */
    text-transform: uppercase;
    letter-spacing: 0.5px; /* 자간을 살짝 좁힘 */
    transition: color 0.3s ease;
    
    /* ★ 핵심: 긴 단어도 한 줄에 나오게 강제 설정 */
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    max-width: 100%;
}

/* 호버 효과 (마우스 올렸을 때) */
.partner-box:hover {
    background: rgba(255, 255, 255, 0.08); /* 배경이 살짝 밝아짐 */
    border-color: #38bdf8; /* 테두리가 파란색으로 변함 */
    transform: translateY(-5px); /* 위로 살짝 뜸 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* 그림자 추가 */
}

.partner-box:hover .partner-name {
    color: #fff; /* 글자가 하얗게 빛남 */
}

/* (선택사항) 박스 모서리에 빛나는 효과 */
.partner-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: #38bdf8;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.partner-box:hover::before {
    transform: scaleX(1); /* 상단에 파란 라인이 슥 그어짐 */
}

/* 모바일 대응 */
@media (max-width: 991px) {
    .partner-name {
        font-size: 13px; 
    }
}

/* =========================================
   [Index] Main Banner Font Style Sync
   (Company 페이지와 스타일 통일)
   ========================================= */

/* 1. 메인 배너 전체 폰트 적용 */
.main-banner {
    font-family: 'Noto Sans KR', sans-serif !important;
}

/* 2. 메인 타이틀 (큰 글씨) */
.main-banner .caption h2 {
    font-size: 56px !important;       /* Company 페이지와 동일한 크기 */
    font-weight: 800 !important;      /* 굵게 */
    color: #fff !important;           /* 흰색 */
    margin-bottom: 20px !important;
    text-transform: none !important;  /* 대문자 강제 변환 해제 (필요시) */
    text-shadow: 0 5px 15px rgba(0,0,0,0.3) !important; /* 그림자 효과 동일하게 */
    letter-spacing: 0px !important;
}

/* 3. 서브 텍스트 (작은 글씨) */
.main-banner .caption h6 {
    font-size: 22px !important;       /* Company 페이지와 동일한 크기 */
    font-weight: 300 !important;      /* 얇게 */
    color: #fff !important;
    opacity: 0.9 !important;
    letter-spacing: 1px !important;   /* 자간 조정 */
    text-transform: none !important;  /* 대문자 강제 변환 해제 */
    margin-bottom: 30px !important;   /* 버튼과의 간격 */
    margin-top: 0px !important;
}

/* (선택사항) 버튼 스타일도 맞추고 싶다면 */
.main-banner .main-button-red a {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-weight: 700 !important;
}

/* 모바일 대응 (글자 크기 자동 조절) */
@media (max-width: 767px) {
    .main-banner .caption h2 {
        font-size: 36px !important;
    }
    .main-banner .caption h6 {
        font-size: 16px !important;
    }
}