.@charset 'utf-8';

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul li {
    list-style:none;
}

a{
    text-decoration:none;
}

img{
    vertical-align:top;
}

body {
    font-family: Arial, sans-serif;
}

#wrap {
    width: 100%;
}

/* 섹션 이동 메뉴 */
.section-menu {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    list-style: none;   
}

.section-menu li {
    margin: 20px 0;
    text-align: right;
}

.section-menu li a {
    color: #0024a8;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.3s;
}

.section-menu li a span {
    margin-right: 15px;
    opacity: 0;
    transition: all 0.3s;
}

.section-menu li a:hover span,
.section-menu li a.active span {
    opacity: 1;
}

.section-menu li a::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 36, 168, 0.3);
    transition: all 0.3s;
}

.section-menu li a.active::after {
    background: #0024a8;
    border: 1px solid #0024a8;
    transform: scale(1.2);
}

.section-menu li a.blue {
    color: #0024a8;
}

.section-menu li a.blue::after {
    background: #0024a8;
    border-color: #0024a8;
}

.menu {
    position: fixed;
    top: 25px;
    left: 25px;
    background: #1a1a1a;
    color: white;
    padding: 10px 28px;
    border-radius: 25px;
    z-index: 100;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 공통 섹션 스타일 */
section {
    width: 100%;
    height: 100vh;
    position: relative;
}

.inner {
    width: 100%;
    height: 100%;
}

/* 섹션 제목 스타일 */
.section-title {
    position: absolute;
    top: 80px;
    left: 80px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0024a8;
    font-family: "Plus Jakarta Sans", sans-serif;
    z-index: 10;
    letter-spacing: 0.05em;
}

/* =========main========== */
/* ========== Visual ========== */
.visual {
    background-color: #cfcbcb;
}

.visual .container {
    width: 100%;
    height: 100vh;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 15px;
}

.visual .box {
    background: transparent;
    position: relative;
}

.visual .top-left::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background: #888;
}
.visual .top-left::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 20px;
    height: 1px;
    background: #888;
}

.visual .top-mid::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background: #888;
}
.visual .top-mid::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #888;
}

/* 1행 오른쪽 이미지 */
.visual .logo-box {
    grid-column: 3;
    grid-row: 1;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.visual .logo-box::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background: #888;
    z-index: 10;
}

.visual .logo-box::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #888;
    z-index: 10;
}

.visual .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.visual .title-box {
    grid-column: 1 / 3;
    grid-row: 2;
    background: white;
    border-radius: 15px;
    padding: 60px 70px;
    display: flex;
    align-items: center;
}

.visual .title-box::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background: #888;
}

.visual .title-box::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 20px;
    height: 1px;
    background: #888;
}

.visual .title-box h1 {
    font-size: 75px;
    font-weight: 400;
    line-height: 0.95;
}

.visual .title-box .blue {
    color: #0024a8;
}

.visual .mid-right::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    bottom: 20px;
    width: 1px;
    background: #888;
}
.visual .mid-right::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: #888;
}

.visual .bottom-left {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.visual .bottom-left::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #888;
    z-index: 10;
}

.visual .bottom-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 5;
    pointer-events: auto;
}

.visual .bottom-left .video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.visual .video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    border: none;
    pointer-events: none;
}

.visual .images-box {
    grid-column: 2;
    grid-row: 3;
    background: white;
    border-radius: 15px;
    padding: 20px;
}

.visual .images-box::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #888;
}

.visual .work-box {
    grid-column: 3;
    grid-row: 3;
    background: transparent;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.visual .work-box::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #888;
}

.visual .work-box .arrow {
    font-size: 55px;
    color: #0024a8;
    transform: rotate(-45deg);
    line-height: 0.8;
}

.visual .work-box .work-text {
    text-align: right;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.visual .work-box .work-text .blue {
    color: #0024a8;
}

/* ========== ABOUT ========== */
.about {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans KR", sans-serif;
    position: relative;
}

/* About 섹션 위아래 선 */
.about::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 1px;
    background: #888;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 1px;
    background: #888;
}

.about .about-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 140px 50px 70px;
}

.about .aboutSwiper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 550px;
}

.about .purpose-slide {
    width: 100%;
    height: 100%;
}

/* About Navigation Buttons */
.about-navigation {
    position: absolute;
    bottom: 250px;
    right: 80px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.about-navigation button {
    width: 55px;
    height: 55px;
    background: white;
    border: 2px solid rgb(32,52,89);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgb(32,52,89);
}

.about-navigation button:hover:not(.swiper-button-disabled) {
    background: rgb(32,52,89);
    color: white;
}

.about-navigation button.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.about-navigation button svg {
    width: 24px;
    height: 24px;
}

.about .brush-decoration {
    position: absolute;
    top: 50px;
    left: -30px;
    width: 500px;
    height: 220px;
    background: linear-gradient(120deg, rgba(237, 234, 214, 0.5) 0%, rgba(250, 246, 235, 0.3) 100%);
    border-radius: 60% 40% 50% 50%;
    transform: rotate(-18deg);
    z-index: 0;
}

.about .slide-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100%;
    padding: 40px 20px;
    z-index: 1;
}

/* 왼쪽 영역 */
.about .grid-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.about .grid-left .top-num {
    font-size: 1.6rem;
    color: #0024a8;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.about .grid-left .large-title {
    font-size:4rem;
    font-weight: 700;
    color: rgb(32,52,89);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1;
    margin-bottom: 15px;
}

.about .grid-left .sub-headline {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: rgb(32,52,89);
    margin-bottom: 10px;
    word-break: keep-all;
}

.about .grid-left p {
    font-size: 1rem;
    color: rgb(32,52,89);
    word-break: keep-all;
    line-height: 1.6;
}

/* 중앙 영역 - 네모 박스 추가 */
.about .grid-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about .grid-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    border: 2px solid #888;
    z-index: 0;
}

.about .grid-center .center-image {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    position: relative;
    z-index: 1;
}

.about .grid-center .center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 오른쪽 영역 */
.about .grid-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
    justify-content: center;
}

.about .grid-right .right-page {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.about .grid-right .page-num {
    font-size: 1rem;
    font-weight: 500;
    color: #0024a8;
}

.about .grid-right .page-bar {
    width: 1px;
    height: 60px;
    background: rgb(204, 204, 204);
}

.about .grid-right .page-total {
    font-size: 1rem;
    color: rgb(204, 204, 204);
}

.about .grid-right .right-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgb(32,52,89);
    text-align: right;
    word-break: keep-all;
    overflow-wrap: break-word;
}
     
/* ========== WEB/APP ========== */
.webapp {
    background-color: #f5f5f0;
    color: rgb(32,52,89);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans KR", sans-serif;
}

.webapp .webapp-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 50px 70px;
}

.webapp .webappSwiper {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 550px;
}

.webapp .service-slide {
    width: 100%;
    height: 100%;
}

/* Web/App Navigation Buttons */
.webapp-navigation {
    position: absolute;
    bottom: 200px;
    right: 150px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.webapp-navigation button {
    width: 55px;
    height: 55px;
    background: white;
    border: 2px solid rgb(32,52,89);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgb(32,52,89);
}

.webapp-navigation button:hover:not(.swiper-button-disabled) {
    background: rgb(32,52,89);
    color: white;
}

.webapp-navigation button.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.webapp-navigation button svg {
    width: 24px;
    height: 24px;
}

.webapp .service-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100%;
    padding: 40px 20px;
}

.webapp .service-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #888;
    transform: translateX(-50%);
    z-index: 1;
}

/* 왼쪽 일러스트 영역 */
.webapp .service-left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webapp .service-illustration {
    width: 100%;
    max-width: 500px;
}

.webapp .service-illustration img {
    width: 100%;
    height: auto;
}

/* 냉터리 이미지 크기 조정 */
.webapp .service-illustration img[src*="dfdfd.png"] {
    width: 50%;
    margin: 0 auto;
    display: block;
}

/* 오른쪽 텍스트 영역 */
.webapp .service-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.webapp .service-right .service-header {
    display: flex;
    flex-direction: column;
}

.webapp .service-right .service-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0024a8;
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-bottom: 10px;
}

.webapp .service-right .service-title-area h2 {
    font-size: 4rem;
    font-weight: 700;
    color: rgb(32,52,89);
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-bottom: 10px;
}

.webapp .service-right .service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(32,52,89);
    margin-bottom: 15px;
}

.webapp .service-right .service-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgb(32,52,89);
    margin-bottom: 30px;
    word-break: keep-all;
}

.webapp .service-content .service-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    border: 2px solid rgb(32,52,89);
    border-radius: 50px;
    color: rgb(32,52,89);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    width: fit-content;
    margin-right:10px;
}

.webapp .service-content .service-button:hover {
    background: rgb(32,52,89);
    color: white;
}

.webapp .service-content .service-button svg {
    width: 20px;
    height: 20px;
}

.webapp .service-pagination {
    position: absolute;
    bottom: 180px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.webapp .service-pagination .current {
    font-size: 1rem;
    font-weight: 500;
    color: #0024a8;
}

.webapp .service-pagination .bar {
    width: 1px;
    height: 60px;
    background: rgb(204, 204, 204);
}

.webapp .service-pagination .total {
    font-size: 1rem;
    color: rgb(204, 204, 204);
}

/* ========== DESIGN ========== */
.design {
    background-color: #ffffff;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    height: auto;
    min-height: 100vh;
}

.design .inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 150px 80px 80px;
}

/* 리스트 래퍼 */
.design .list_wrap {
    margin-right: 80px;
}

.design .list_wrap ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.design .list_wrap ul:before,
.design .list_wrap ul:after {
    content: "";
    display: block;
    width: calc((100% - 2px) / 3);
    order: 1;
}

.design .list_wrap ul li {
    width: calc((100% - 2px) / 3);
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .list_wrap ul li {
        border-width: 0.5px;
    }
}

.design .list_wrap ul li a {
    position: relative;
    display: block;
    padding-top: 110%;
    min-height: 400px;
    text-decoration: none;
    overflow: visible;
}

.design .list_wrap ul li a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #222222;
    pointer-events: none;
    transition: all 0.2s 0.1s ease-in-out;
    z-index: 0;
}

.design .list_wrap ul li a:hover:before {
    opacity: 0.85;
}

.design .list_wrap ul li a .thumbnail {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 240px;
    height: 240px;
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

.design .list_wrap ul li a:hover .thumbnail {
    top: 25px;
    width: 260px;
    height: 260px;
}

.design .list_wrap ul li a .thumbnail .ratio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.design .list_wrap ul li a .thumbnail .ratio img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.design .list_wrap ul li a .text {
    position: absolute;
    top: 70%;
    left: 2.5rem;
    right: 10rem;
    z-index: 1;
}

.design .list_wrap ul li a .text .title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222222;
    line-height: 1.35;
    transition: all 0.2s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

.design .list_wrap ul li a:hover .text .title {
    color: #ffffff;
}

.design .list_wrap ul li a .text .wrap {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
}

.design .list_wrap ul li a .text .wrap span {
    display: inline-block;
    font-size: 0.9rem;
    color: #999999;
}

.design .list_wrap ul li a .text .wrap .date {
    margin-right: 1rem;
}

.design .list_wrap ul li a .text .wrap .category {
    color: #999999;
}

.design .list_wrap ul li a .icon {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #f2f2f2;
    transition: all 0.2s ease-in-out;
    z-index: 2;
    font-size: 1.6rem;
    color: #222222;
}

.design .list_wrap ul li a:hover .icon {
    background-color: #ffffff;
}

.design .list_wrap ul li a .icon::before {
    content: "→";
    display: block;
    font-weight: 300;
    line-height: 1;
}

.design .list_wrap ul li:nth-of-type(3n) {
    border-right: none;
}

/* ========== 모달 ============== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(207, 203, 203, 0.98);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 0;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: none;
    border: 2px solid #222222;
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header-bar {
    background: white;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-bottom: 2px solid #222222;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #222222;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.modal-close:hover {
    background: #222222;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #222222;
    transition: background 0.3s ease;
}

.modal-close:hover::before,
.modal-close:hover::after {
    background: white;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-scroll-wrapper {
    max-height: calc(85vh - 60px);
    overflow-y: auto;
    padding: 50px 60px 60px;
}

.modal-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-body {
    padding: 0;
    background: transparent;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #222222;
    font-weight: 600;
}
.modal-meta span {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #222222;
    border-radius: 20px;
}

.modal-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 35px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.modal-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444444;
    margin-bottom: 45px;
    font-weight: 400;
    padding: 0 !important;
    margin-left: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-tag {
    padding: 12px 24px;
    background: white;
    border: 2px solid #222222;
    border-radius: 25px;
    font-size: 0.95rem;
    color: #222222;
    font-weight: 600;
    transition: none;
}

.modal-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
}

.modal-scroll-wrapper::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.modal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.modal-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #222222;
}

/* ========== CONTACT ========== */
section.contact {
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 100vh;
}

section.contact .container {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.contact .contact-box {
    display: flex;
    width: 100%;
    max-width: 1200px;
}

/* left */
section.contact .contact-box .contact-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.contact .contact-box .contact-left h3 {
    font-size: 30px;
    cursor: pointer;
    text-align: center;
    padding: 100px 50px;
    border-right: 1px solid #333;
    width: 100%;
}

/* right */
section.contact .contact-box .contact-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.contact .contact-box .contact-right .social {
    flex-basis: 80%;
    width: 100%;
}

section.contact .contact-box .contact-right .social li a {
    display: block;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

section.contact .contact-box .contact-right .social li a:hover {
    color: #0024a8;
}

section.contact .contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 40px;
    z-index: 999;
    display: none;
}

section.contact .contact-modal.active {
    display: block;
}

section.contact .contact-modal h3 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

section.contact .contact-modal form input,
section.contact .contact-modal form textarea {
    display: block;
    width: 100%;
    margin: 15px 0;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

section.contact .contact-modal form input:focus,
section.contact .contact-modal form textarea:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

section.contact .contact-modal form input::placeholder,
section.contact .contact-modal form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

section.contact .contact-modal form textarea {
    height: 120px;
    resize: vertical;
}

section.contact .contact-modal form .button {
    width: 100%;
    max-width: 120px;
    margin: 25px auto 0;
    background-color: #fff;
    color: #000;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

section.contact .contact-modal form .button:hover {
    background-color: #0024a8;
    color: #fff;
    transform: translateY(-2px);
}

/* modal mask */
.contact .contact-modal-mask{
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    background-color: rgba(0,0,0,0.2);
    display:none;
}

/* ====Footer======== */
.footer {
    background: #000;
    color: white;
    padding: 50px;
    text-align: center;
}

/* 반응형 */
@media (max-width: 1200px) {
    .slide-grid {
        gap: 60px;
        padding: 30px 15px;
    }

    .large-title {
        font-size: 4.5rem;
    }

    .sub-headline {
        font-size: 1.9rem;
    }

    .center-image {
        max-width: 320px;
    }

    .page-bar {
        height: 50px;
    }
}

@media (max-width: 900px) {
    .slide-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-left {
        order: 1;
    }

    .service-right {
        order: 2;
    }

    .grid-left {
        order: 1;
    }

    .grid-center {
        order: 2;
    }

    .grid-right {
        order: 3;
        align-items: flex-start;
    }

    .large-title {
        font-size: 3.8rem;
    }

    .sub-headline {
        font-size: 1.7rem;
    }

    .center-image {
        max-width: 100%;
    }

    .right-text {
        text-align: left;
    }

    .right-page {
        align-items: flex-start;
    }

    .page-bar {
        height: 45px;
    }

    .aboutSwiper, .webappSwiper {
        height: auto;
        min-height: 750px;
    }

    .brush-decoration {
        width: 350px;
        height: 180px;
        top: 30px;
    }

    /* DESIGN 카드 반응형 */
    .list_wrap ul:before,
    .list_wrap ul:after {
        content: none;
    }

    .list_wrap ul li {
        width: 100%;
        border-right: none;
    }

    .list_wrap ul li a .text {
        left: 2.4rem;
        right: 2.4rem;
    }

    .list_wrap ul li a .text .wrap {
        margin-top: 0.4rem;
    }

    .list_wrap ul li a .text .wrap .date {
        margin-right: 1.2rem;
    }

    .list_wrap ul li a:hover:before {
        opacity: 0;
    }

    .list_wrap ul li a:hover .thumbnail {
        top: 12%;
        width: 60%;
    }

    .list_wrap ul li a:hover .text .title {
        color: #222222;
    }

    .list_wrap ul li a:hover .icon {
        background-color: #f2f2f2;
    }
}

@media (max-width: 640px) {
    .about-inner, .webapp-inner {
        padding: 50px 30px;
    }

    .large-title {
        font-size: 3rem;
    }

    .top-num {
        font-size: 1.4rem;
    }

    .sub-headline {
        font-size: 1.5rem;
    }

    .right-text {
        font-size: 1.3rem;
    }

    .page-num {
        font-size: 1.4rem;
    }

    .page-bar {
        height: 40px;
    }

    .aboutSwiper, .webappSwiper {
        min-height: 700px;
    }

    .brush-decoration {
        width: 280px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        border-width: 1px;
    }

    .modal-header-bar {
        height: 60px;
        padding: 0 20px;
        border-bottom-width: 1px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
    }

    .modal-close::before,
    .modal-close::after {
        width: 16px;
    }

    .modal-scroll-wrapper {
        padding: 35px 30px 40px;
    }

    .modal-title {
        font-size: 2.2rem;
    }

    .modal-description {
        font-size: 1.05rem;
    }

    .modal-tag {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-header-bar {
        height: 50px;
        padding: 0 15px;
    }

    .modal-close {
        width: 35px;
        height: 35px;
    }

    .modal-scroll-wrapper {
        padding: 30px 25px 35px;
    }

    .modal-title {
        font-size: 1.8rem;
    }
}