@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* --- 초기화 및 기본 스타일 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.footer .admins { position:absolute;
    bottom:50px; right:100px; z-index:999; font-size:14px; background:#292929; width:auto; height:auto; padding:3px 5px;}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    word-break: keep-all;
}

ul, li {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    vertical-align: top;
}

/* --- 공통 레이아웃 --- */
.wrap {
    max-width: 1440px; /* 1380px -> 1440px 넓게 */
    margin: 0 auto;
    padding: 0;
}

.pc_br { display: inline; }
.m_br { display: none; }

/* --- 헤더 & 네비게이션 --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.header.scrolled,
.header:hover {
    background-color: #fff;
    border-bottom-color: #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header .logo .img {
    height: 60px; /* 50px -> 40px 조금 더 세련되게 */
}

.header .logo .img img {
    height: 100%;
    width: auto;
}

.header .logo .logo-scrolled { display: none; }
.header.scrolled .logo .logo-main,
.header:hover .logo .logo-main { display: none; }
.header.scrolled .logo .logo-scrolled,
.header:hover .logo .logo-scrolled { display: block; }

.header .gnb .menu {
    display: flex;
    gap: 50px;
}

.header .gnb .menu > .item > a {
    display: block;
    position: relative;
    padding: 32px 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

.header.scrolled .gnb .menu > .item > a,
.header:hover .gnb .menu > .item > a {
    color: #222;
}

.header .gnb .menu > .item > a::after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #006400;
    transition: width 0.3s;
}

.header .gnb .menu > .item:hover > a::after {
    width: 100%;
}

/* 메가 메뉴 */
.mega-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.mega-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu .wrap {
    display: flex;
    align-items: flex-start;
    padding: 50px 40px;
}

.mega-menu .menu-part {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee;
}

.mega-menu .menu-part h4 {margin-bottom:15px;}

.mega-menu .menu-part:last-child {
    border-right: none;
}

.mega-menu .sub-menu .item {
    margin-bottom: 12px;
}

.mega-menu .sub-menu .item a {
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.mega-menu .sub-menu .item a:hover {
    color: #006400;
    font-weight: 600;
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #fff;
    z-index: 1002;
    transition: color 0.3s;
}

.header.scrolled .mobile-menu-btn,
.header:hover .mobile-menu-btn {
    color: #222;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s;
}
.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}
.mobile-gnb { display: none; }

/* --- 히어로 섹션 --- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 1s ease-in-out;

}

.hero-slide.active { opacity: 1; }

.hero-slide .bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 6s ease-out;
}

.hero-slide.active .bg {
    transform: translate(-50%, -50%) scale(1);

}


.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(17, 30, 23, 0.4), rgba(4, 52, 54, 0.6));
    z-index: -1;
}

.hero-slide .txt .title {
    font-size: 64px; /* 54px -> 64px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-slide .txt .desc {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slide .btn-portfolio {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.hero-slide .btn-portfolio:hover {
    background-color: #fff;
    color: #006400;
}

.slide-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-dots .dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* --- 공통 섹션 스타일 --- */
section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title.lef { text-align: left; }

.section-title h2 {
    font-size: 46px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title p {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 400;
}

/* --- 사업분야 (Biz Field) --- */
.biz-field .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* 30px -> 40px */
}

.biz-field .item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.biz-field .item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.biz-field .item .img {
    height: 280px;
    overflow: hidden;
}

.biz-field .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.biz-field .item:hover .img img {
    transform: scale(1.1);
}

.biz-field .item .txt {
    padding: 35px 30px;
}

.biz-field .item .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.biz-field .item .desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* --- Why EF --- */
.why-ef {
    position: relative;
    background: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=2071&auto=format&fit=crop") no-repeat center center/cover;
    background-attachment: fixed; /* 패럴랙스 효과 */
    color: #fff;
}

.why-ef .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 111, 73, 0.65); /* 초록빛 틴트 */
    z-index: 1;
}

.why-ef .wrap {
    position: relative;
    z-index: 2;
}

.why-ef .section-title .logo-img {
    width: 100px;
    margin: 0 auto 20px;
    opacity: 0.9;
}
.why-ef .section-title .logo-img img { filter: brightness(0) invert(1); }

.why-ef .section-title h2 { color: #fff; }
.why-ef .section-title p { color: #fff; }

.why-ef .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-ef .item {
    padding: 50px 30px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.why-ef .item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.why-ef .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 40px;
    color: #fff;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.why-ef .item:hover .icon {
    background: #fff;
    color: #006400;
}

.why-ef .item .title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-ef .item .desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* --- Portfolio --- */
 /* --- 포트폴리오 섹션 --- */
            .portfolio .carousel {
                position: relative;
                overflow: hidden;
            }

            .portfolio .slide-track {
                display: flex;
                transition: transform 0.5s ease-in-out;
            }

            .portfolio .item {
                flex: 0 0 25%;
                position: relative;
                padding: 0 15px;
                overflow: hidden;
                cursor: pointer;
            }

            .portfolio .item .img {
                position: relative;
                z-index: 0;
                width: 100%;
                height: 500px;
                border-radius: 12px;
                overflow: hidden;
            }

            .portfolio .item .img img {
                position: absolute;
                top: 0;
                left: 0;
                z-index: 0;
                width: 100%;
                height: 100%;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
                transition: transform 0.4s;
                object-fit: cover;
            }

            .portfolio .item .overlay {
                position: absolute;
                top: 0;
                left: 0;
                z-index: 1;
                width: 100%;
                height: 100%;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
                transition: opacity 0.3s;
                opacity: 0.8;
            }

            .portfolio .item:hover .overlay {
                opacity: 0.8;
            }

            .portfolio .item:hover .img img {
                transform: scale(1.05);
            }

            .portfolio .item .txt {
                position: absolute;
                bottom: 0;
                left: 0;
                z-index: 2;
                width: 100%;
                padding: 30px;
                border-radius: 0 0 12px 12px;
                color: #fff;
                transition:
                    transform 0.4s,
                    opacity 0.4s;
                opacity: 1;
            }

            /* .portfolio .item:hover .txt { transform: translateY(0); opacity: 1; }*/
            .portfolio .item .txt .title {
                font-size: 20px;
                font-weight: 700;
            }

/* --- Services --- */
.services {
    background-color: #f8f9fa;
}

.services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services .item {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 60px 30px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.services .item .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    z-index: 0;
}

.services .item:hover .bg-img {
    transform: scale(1.05);
}

.services .item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.services .item .txt {
    position: relative;
    z-index: 2;
}

.services .item .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.services .item .desc {
    font-size: 18px;
    line-height: 1.6;
}

/* --- Partners --- */
.partners {
    padding: 100px 0;
}

.partners .logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom:50px;
}

.partners .pc-grid-5 {    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    margin-bottom:50px;}


.partners .logo-item {
    display: flex;
    justify-content: center;
    align-items: center; /* 이미지가 세로 중앙에 오도록 추가 */
    opacity: 1;
    transition: opacity 0.3s;
    margin-bottom:30px;
}

.partners .logo-item.log img {
    height: 60px; /* 핵심: max-height 대신 고정 높이값(height) 사용 */
    width: auto;  /* 높이에 맞춰 가로 비율 자동 유지 */

}

.partners .logo-item img {
    height: 40px; /* 핵심: max-height 대신 고정 높이값(height) 사용 */
    width: auto;  /* 높이에 맞춰 가로 비율 자동 유지 */
    object-fit: contain; /* 이미지가 찌그러지지 않고 비율을 유지하도록 안전장치 */
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 140px 0;
    background: url("../upload/img/online_bg.jpg") no-repeat center center/cover;
    background-attachment: fixed;
}






.cta .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    z-index: 1;
}

.cta .wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta .info-box {
    color: #fff;
}

.cta .info-box h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.cta .info-box h2 span {
    font-weight: 300;
    display: block;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.cta .info-box p {
    font-size: 20px;
    margin-bottom: 50px;
    font-weight: 300;
}

.cta .contact-info .item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cta .contact-info .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:#54bb6e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.cta .contact-info .text {
    font-size: 24px;
    font-weight: 300;
}

.cta .contact-info .text span {
    font-weight: 600;
    margin-right: 10px;
}

.cta .form-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    height:700px;
}



.cta .form-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #222;
}

.cta .form-box .form_online {
    width:100%;
    height:100%;
}


.cta .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}




.cta .form-group {
    margin-bottom: 15px;
}

.cta .form-group input,
.cta .form-group select,
.cta .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.cta .form-group input:focus,
.cta .form-group select:focus,
.cta .form-group textarea:focus {
    outline: none;
    border-color: #006400;
}

.cta .form-group textarea {
    height: 120px;
    resize: none;
}

.cta .form-group.privacy {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.cta .form-group.privacy input {
    width: auto;
    margin-right: 10px;
}

.cta .btn-submit {
    width: 100%;
    padding: 18px;
    background-color: #006400;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta .btn-submit:hover {
    background-color: #004d00;
}

/* --- Footer --- */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding-top: 100px;
    font-size: 15px;
    position:relative;
}

.footer .wrap {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
    border-bottom: 1px solid #333;
}

.footer .col-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.footer .info .logo {
    margin-bottom: 25px;
}

.footer .info .logo img {
    width: 140px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer .info p {
    line-height: 1.8;
}

.footer .links .item li {
    margin-bottom: 15px;
}

.footer .links .item a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer .contact p {
    line-height: 2;
}

.footer .contact strong {
    color: #fff;
    margin-right: 5px;
}

.footer .socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer .socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s;
}

.footer .socials a:hover {
    background-color: #006400;
}

.footer .bottom-bar {
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}



/* --- 반응형 (Tablet) --- */
@media (max-width: 1024px) {
    .pc_br { display: none; }
    .m_br { display: inline; }
    .wrap { padding: 0 20px; }

    .header .gnb { display: none; }
    .mobile-menu-btn { display: block; }

    /* 모바일 메뉴 스타일 (기존 유지 + 보완) */
    .mobile-gnb {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    .mobile-gnb.active { right: 0; }

    .mobile-gnb-header {
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
    }
    .mobile-gnb-header .logo img { height: 30px; }
    .mobile-menu-close-btn { font-size: 24px; color: #333; }

    .mobile-gnb .menu {
        padding: 20px;
        overflow-y: auto;
    }
    .mobile-gnb .menu .item > a {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        font-size: 18px;
        font-weight: 500;
        border-bottom: 1px solid #f5f5f5;
        color: #333;
    }
    .mobile-gnb .menu .item > a .arrow {
        transition: transform 0.3s ease;
    }
    .mobile-gnb .menu .item > a.open .arrow {
        transform: rotate(180deg);
    }
    .mobile-gnb .sub-menu {
        display: none;
        background: #f9f9f9;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    .mobile-gnb .sub-menu.open {
        display: block;
    }
    .mobile-gnb .sub-menu .item a {
        padding: 8px 0;
        font-size: 16px;
        color: #666;
        border-bottom: none;
    }

    .hero-slide .txt .title { font-size: 48px; }
    .hero-slide .txt .desc { font-size: 20px; }

    .biz-field .grid { grid-template-columns: repeat(2, 1fr); }
    .why-ef .grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio .item { flex: 0 0 50%; }
    .services .grid { grid-template-columns: 1fr; }
    .partners .logo-grid { grid-template-columns: repeat(4, 1fr); margin-bottom:20px;}

    .cta .wrap { grid-template-columns: 1fr; gap: 50px; }
    .cta .info-box { text-align: center; }
    .cta .contact-info { justify-content: center; }

    .footer .wrap { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* --- 반응형 (Mobile) --- */
@media (max-width: 768px) {
    .wrap { padding: 0 15px; }
    .header { height: 70px; }
    .header .logo .img { height: 32px; }

    section { padding: 80px 0; }

    .hero-slide .txt .title { font-size: 36px; }
    .hero-slide .txt .desc { font-size: 16px; margin-bottom: 30px; }
    .hero-slide .btn-portfolio { padding: 12px 30px; font-size: 16px; }

    .section-title h2 { font-size: 28px; }
    .section-title p { font-size: 16px; }

    .biz-field .grid { grid-template-columns: 1fr; }
    .why-ef .grid { grid-template-columns: 1fr; }
    .portfolio .item { flex: 0 0 100%; }

    .partners .logo-grid { grid-template-columns: repeat(2, 1fr); }

.partners .pc-grid-5 {    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom:50px;}


    .partners .logo-item {margin-bottom:0;}

        .partners .logo-item img {
    height: 20px; /* 핵심: max-height 대신 고정 높이값(height) 사용 */
    width: auto;  /* 높이에 맞춰 가로 비율 자동 유지 */

}

    .partners .logo-item.log img {
    height: 30px; /* 핵심: max-height 대신 고정 높이값(height) 사용 */
    width: auto;  /* 높이에 맞춰 가로 비율 자동 유지 */

}

    .cta .info-box h2 { font-size: 32px; }
    .cta .form-box { padding: 30px 20px; }
    .cta .form-grid { grid-template-columns: 1fr; }

    .footer .wrap { grid-template-columns: 1fr; gap: 40px; }



}


