@charset "UTF-8";
/*-----------------------------------------
N Top Position Custom Styles
-----------------------------------------*/

/* ========== Font Face ========== */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('/font/Pretendard-Thin.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('/font/Pretendard-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('/font/Pretendard-Light.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('/font/Pretendard-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('/font/Pretendard-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('/font/Pretendard-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('/font/Pretendard-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('/font/Pretendard-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('/font/Pretendard-Black.woff') format('woff');
}

/* ========== Global Variables ========== */
:root {
    --primary-color: #FF7901;       /* rgb : 255, 121, 1 */
    --secondary-color: #ed9524;     /* rgb : 237, 149, 36 */
    --dark-bg: #0A0E27;
    --light-bg: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ========== Global Font ========== */
body, html {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

* {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* ========== Main Video Section ========== */
.main-video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-slider-container {
    width: 100%;
    height: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: start;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
    color: white;
    z-index: 10;
    padding: 0 20px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    gap: 20px;
}

.slide-content.center {
    align-items: center;
    text-align: center;
}

.slide-content.top-up {
    position: relative;
    top: -50px;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: fit-content;
    /* box-shadow: inset 0 -0.4em 0 0 #ff6b00; */
}

.slide-title span.highlight {
    box-shadow: inset 0 -0.4em 0 0 #ff6b00;
}

.slide-description {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 145, 0, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 15px 40px rgba(255, 183, 0, 0.4);
}

.cta-outline-button {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cta-outline-button {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

.cta-outline-button:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Scroll Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.4s ease forwards;
}

.animate-fade-up.delay-1 {
    animation-delay: 0.05s;
}

.animate-fade-up.delay-2 {
    animation-delay: 0.1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    /* transform: translateX(-50%); */
    text-align: center;
    color: white;
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: white;
    margin: 0 auto;
    opacity: 0.6;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color) !important;
}

/* ========== Title Area ========== */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.main-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.title-area-w .main-title,
.title-area-w .main-subtitle {
    color: white;
}

/* ========== Company Section ========== */
.company-section {
    background: var(--light-bg);
    padding: 100px 0;
}

.section-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 80px 0 40px;
    color: var(--text-dark);
}

/* Vision & Mission */
.vision-mission-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.vm-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.vm-icon {
    margin-bottom: 25px;
}

.vm-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* History Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Organization Chart */
.org-chart {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.org-box {
    flex: 1;
    max-width: 200px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 12px;
    text-align: center;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.org-box:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-5px);
}

.org-box.ceo {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.org-box strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.org-box span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.facility-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.facility-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========== Service Section ========== */
.service-section {
    background: var(--dark-bg);
    padding: 100px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
}

.service-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    font-size: 1rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* ========== Portfolio Section ========== */
.portfolio-section {
    padding: 100px 0;
    background: white;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #E5E7EB;
    background: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    height: 350px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.portfolio-overlay {
    position: relative;
    z-index: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.portfolio-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    color: white;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--dark-bg);
    padding: 100px 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* ========== Scroll Animations ========== */
[data-scroll-animation] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-scroll-animation].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 4rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.2rem;
    }

    .slide-description {
        font-size: 1.1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 2rem;
    }
    
    .vision-mission-wrap,
    .service-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .org-level {
        flex-wrap: wrap;
    }
    
    .org-box {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2.2rem;
    }

    .slide-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .vm-card,
    .service-card,
    .contact-form {
        padding: 30px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        flex-wrap: wrap;
    }
}

/* ========== Stats Counter Custom Styles ========== */
.stats-container {
    gap: 0px !important;
    padding: 60px 20px !important;
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.stat-item {
    position: relative;
    padding: 0 10px;
    /* min-width: 180px; */
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.7);
}

/* Counter 폰트 스타일 */
.counter {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 0.8em;
}

@media screen and (max-width: 768px) {
    .counter {
        font-size: 0.8em;
    }
}

/* stat-unit 크기 조정 */
.stat-unit {
    font-size: 0.4em;
}

/* stat-number 간격 조정 */
.stat-number {
    gap: 1px !important;
}

/* stat-title 컬러 및 크기 */
.stat-title {
    color: #F8D000 !important;
    font-size: 24px !important;
}

/* 데스크탑에서는 br 태그 숨김 */
.mobile-br {
    display: none;
}

@media screen and (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
        padding: 30px 15px !important;
    }

    .stat-item {
        padding: 0 15px;
    }

    .stat-number {
        font-size: 40px !important;
    }

    .stat-title {
        font-size: 24px !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    .stat-unit {
        font-size: 0.4em !important;
    }

    .stat-item:not(:last-child)::after {
        height: 40px;
    }

    /* 태블릿에서 br 태그 표시 */
    .mobile-br {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
        padding: 20px 10px !important;
    }

    .stat-item {
        padding: 0 10px;
    }

    .stat-number {
        font-size: 28px !important;
    }

    .stat-title {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    .stat-unit {
        font-size: 0.4em !important;
    }

    .stat-item:not(:last-child)::after {
        height: 35px;
    }

    /* 모바일에서 br 태그 표시 */
    .mobile-br {
        display: inline;
    }

        .stat-item:nth-child(even)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 50px;
        background: none;
    }

}
