</style>
/* CSS 예시 (css/kesma_style.css 등에 추가) */
#knowledge { padding: 80px 0; background: #ffffff; }
.knowledge-desc { text-align: center; color: #666; margin-bottom: 40px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.knowledge-card { background: #f8f9fa; padding: 30px; border-radius: 12px; border: 1px solid #eee; position: relative; }
.knowledge-card .badge { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: bold; border-radius: 4px; color: #fff; margin-bottom: 15px; }
.knowledge-card .badge.red { background: #ff4d4f; }
.knowledge-card .badge.blue { background: #1890ff; }
.knowledge-card .badge.green { background: #52c41a; }
.knowledge-card h3 { font-size: 20px; margin-bottom: 10px; color: #222; }
.knowledge-card p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 20px; }
.knowledge-card .link-btn { font-size: 14px; font-weight: bold; color: #0077ff; text-decoration: none; }

#contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#contact .contact-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* 왼쪽 이메일 폼 */
.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0077ff;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #0077ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* 오른쪽 BBS & 연락처 정보 */
.contact-info-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
}

.info-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.bbs-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.bbs-btn:hover {
    background-color: #000;
}

.info-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* TOP 버튼 중앙 정렬 */
.topButton {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===========================================================
   FOOTER
=========================================================== */

footer{

    background:#0d2038;

    color:#d7dde6;

    padding:40px 0;

}

footer .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

footer div{

    font-size:15px;

}


/* ===========================================================
   FADE EFFECT
=========================================================== */

.fade{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}


/* ===========================================================
   ANIMATION
=========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes heroZoom{

    from{

        transform:scale(1.05);

    }

    to{

        transform:scale(1.15);

    }

}

@keyframes scrollMove{

    0%{

        opacity:0;

        transform:translateY(-15px);

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:translateY(18px);

    }

}


/* ===========================================================
   SCROLL BAR
=========================================================== */

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#eef3f8;

}

::-webkit-scrollbar-thumb{

    background:#0b67d8;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#084da3;

}


/* ===========================================================
   TEXT SELECTION
=========================================================== */

::selection{

    background:#1976d2;

    color:#fff;

}


/* ===========================================================
   IMAGE EFFECT
=========================================================== */

img{

    user-select:none;

    -webkit-user-drag:none;

}


/* ===========================================================
   RESPONSIVE
=========================================================== */

@media(max-width:1200px){

.heroText h1{

    font-size:58px;

}

.timeline{

    row-gap:60px;

}

.businessGrid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:900px){

nav{

    padding:25px;

}

nav ul{

    display:none;

}

.heroText{

    left:7%;

    width:86%;

}

.heroText h1{

    font-size:46px;

}

.heroText p{

    font-size:19px;

}

section{

    padding:90px 0;

}

section h2{

    font-size:38px;

}

.serviceGrid{

    grid-template-columns:1fr;

}

.businessGrid{

    grid-template-columns:1fr;

}

.timeline{

    flex-direction:column;

    align-items:center;

}

.line{

    width:4px;

    height:70px;

    margin:20px 0;

}

.line::after{

    width:100%;

    height:0;

}

.line.active::after{

    height:100%;

}

.parallax{

    background-attachment:scroll;

}

.parallax h2{

    font-size:42px;

}

.parallax p{

    font-size:18px;

}

footer .container{

    justify-content:center;

    text-align:center;

}

}

@media(max-width:600px){

.logo{

    font-size:22px;

}

.heroText h1{

    font-size:34px;

}

.heroText p{

    font-size:17px;

}

.mainButton{

    width:180px;

    height:54px;

}

.sectionTitle{

    font-size:12px;

}

section h2{

    font-size:30px;

}

.step{

    width:100%;

}

.circle{

    width:70px;

    height:70px;

}

.parallax{

    height:380px;

}

.parallax h2{

    font-size:30px;

}

#contact h2{

    font-size:34px;

}

#contact p{

    font-size:18px;

}

}
</style>