* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
}

html {
    scroll-behavior: smooth;
}

input, textarea {
    font-family: 'Noto Sans KR', sans-serif;
}

/*첫번째*/
.nav-wrapper {
    width: 100%;
    position: absolute;
}

nav {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    margin: 0 auto;
    background: transparent;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
}

.menu a.active {
    color: #8eb9ff;
    font-weight: bold;
}

.menu a.button {
    padding: 6px 14px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.menu a.signup {
    background-color: #999;
    color: white;
}

.menu a.login {
    background-color: #4286f4;
    color: white;
}

/*...*/


/* 두번쨰 */
.main-banner {
    width: 100%;
    background: no-repeat center center;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    padding: 100px 0;
    padding-top: 140px;
    color: white;
}


.banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 160px;
    display: flex;
    align-items: center;
}

.banner-text {
    max-width: 600px;
}

.banner-text h1 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #337ac8;
}

/*...*/


/* 세번쨰 */
.infinite-slider {
    width: 100%;
    margin: 30px auto;
    padding: 0px;
    overflow: hidden;
}

.infinite-slider-title {
    max-width: 1400px;
    padding: 0 auto;
    margin: 20px auto;
}

.infinite-slider-title h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.infinite-slider h2 strong {
    color: #4a90e2;
}

.slider-container {
    overflow: hidden;
    position: relative;
    max-width: 2540px;
    margin: auto;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.card {
    width: 220px;
    margin-right: 20px;
    background: white;
    text-align: center;
    flex-shrink: 0;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.card p {
    margin: 10px 0;
}

.card-title {
    font-weight: 800;
    font-size: 20px;
}

.card-btn {
    display: inline-block;
    background: transparent;
    padding: 6px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*...*/


/*네번째*/
.search-section {
    background-color: #4285f4;
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.search-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.search-content p {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
}

.search-content a {
    padding: 15px 50px;
    background-color: #fff;
    color: #2f80ed;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
}

.search-box {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 18px 30px;
    font-size: 20px;
    border: none;
    outline: none;
    border-radius: 5px;
    width: 100%;
    max-width: 759px;
    height: 73px;
}

.search-box button {
    padding: 0 20px;
    background: transparent;
    color: #4285f4;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    border: 1px solid #fff;
    width: 100%;
    max-width: 73px;
    margin-left: 10px;
}

/*...*/

/*다섯번째*/
.service-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    padding-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 80px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.service-card:nth-child(6) {
    transition-delay: 0.6s;
}

.card-accent {
    width: 36px;
    height: 2px;
    background-color: #4a90e2;
    border-radius: 2px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 6px;
}

.service-card h4 {
    font-size: 18px;
    color: #4a90e2;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 20px;
    color: #333;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 30px;
}

/*...*/


/*여섯번째*/
.step-section {
    background-color: #f8f8f8;
    padding: 80px 10px;
    padding-bottom: 100px;
    text-align: center;
}

.step-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-title p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 50px;
}

.step-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.step-box {
    background-color: white;
    border-radius: 5px;
    padding: 30px 24px;
    width: 216px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.3s ease;
    cursor: pointer;
}

.step-box.in-view {
    opacity: 1;
    transform: translateY(0);
}

.step-box:hover {
    transform: translateY(-5px);
}

.step-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.step-box p {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.step-arrow {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
}

/*...*/


/*일곱번째*/
.record-section {
    text-align: center;
    padding: 100px 20px;
    background-color: #fff;
}

.record-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.record-header p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 80px;
}

.record-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 200px;
}

.stat-item {
    min-width: 200px;
}

.stat-label {
    display: inline-block;
    font-size: 22px;
    padding: 6px 36px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 12px;
    font-weight: bold;
}

.stat-value {
    font-size: 22px;
    color: #222;
}

.stat-value .number {
    color: #1a73e8;
    margin-right: 4px;
    font-size: 36px;
    font-weight: bold;
}

.number-a {
    color: #1a73e8;
    margin-right: 4px;
    font-size: 36px;
    font-weight: bold;
}

/*...*/


/*여덟번째*/
.manager-section {
    background-color: #020d13;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.manager-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.manager-title h2 span {
    color: #4a90e2;
}

.manager-title p {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 50px;
}

.review-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
}

.review-card {
    background-color: white;
    color: #111;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    cursor: pointer;
}

.review-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 12px;
}

.stars {
    color: gold;
    font-size: 28px;
    margin: 6px 0;
}

.company {
    font-weight: bold;
    font-size: 22px;
    font-weight: bold;
}

.position {
    font-size: 20px;
    padding: 5px;
    color: #000000;
}

.manager-desc>p:first-child {
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.7;
    padding-top: 20px;
}

.manager-desc>p:nth-child(2) {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.7;
    margin-top: 20px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    max-width: 90%;
    max-height: 90%;
}

.popup-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 6px;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
}

.fade-target {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/*...*/


/*아홉번째*/
.contact-section {
    padding: 80px 20px;
    background-color: #fff;
    color: #222;
    font-family: sans-serif;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: #2f80ed;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.contact-info hr {
    margin: 80px 0 80px;
    border: none;
    border-top: 1px solid #ccc;
}

.contact-info .caution h4 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info .caution p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    background-color: #e4e4e4;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 16px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .checkbox {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox input {
    width: 20px;
    margin-bottom: 0px;
    height: 20px;
    cursor: pointer;
}

.contact-form .checkbox input {
    margin-right: 8px;
}

.contact-form button {
    width: 50%;
    padding: 14px;
    background-color: #2f80ed;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
}

.contact-form button:hover {
    background-color: #1c66c6;
}

@keyframes button-spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.contact-form .loading {
    position: relative;
    cursor: default;
    text-shadow: none !important;
    color: transparent !important;
    opacity: 1;
    pointer-events: auto;
    transition: all 0s linear, opacity .1s ease;
}

.contact-form .loading:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -.64285714em 0 0 -.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    border-radius: 500rem;
    border: .2em solid rgba(0, 0, 0, .15);
}

.contact-form .loading:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    margin: -.64285714em 0 0 -.64285714em;
    width: 1.28571429em;
    height: 1.28571429em;
    -webkit-animation: button-spin .6s linear;
    animation: button-spin .6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #fff transparent transparent;
    border-style: solid;
    border-width: .2em;
    box-shadow: 0 0 0 1px transparent;
}

/*...*/


/*열번째*/
.partner {
    width: 1400px;
    position: relative;
    display: flex;
    padding: 20px 0px;
    margin: auto;
    border-top: 1px solid #ccc;
}

.partner>div {
    margin: auto 20px;
    width: 100%;
    height: 100px;
    display: flex;
}

.partner > div > div {
    flex: 1;
}

.partner>div>div:first-child {
    background-image: url('../image/award01.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.partner>div>div:nth-child(2) {
    background-image: url('../image/award02.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.partner>div>div:nth-child(3) {
    background-image: url('../image/award03.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.partner>div>div:nth-child(4) {
    background-image: url('../image/award04.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.partner>div>div:nth-child(5) {
    background-image: url('../image/award05.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

.partner>div>div:nth-child(6) {
    background-image: url('../image/award06.jpg');
    background-repeat: no-repeat;
    background-position: center;
}

/*...*/


/*열한번째*/
.footer {
    width: 100%;
}

.footer_area {
    max-width: 1400px;
    min-width: 1400px;
    margin: auto;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: -0.35px;
    color: #272727;
    border-top: 1px solid #d2d2d2;
    font-family: 'Pretendard-Regular';
}

.footer_top {
    display: flex;
    margin-top: 60px;
    padding: 10px 30px;
}

.footer_top>div:first-child {
    flex: 1;
}

.footer_top>div:first-child img {
    width: 106px;
    height: 36px;
}

.footer_top>div:nth-child(2) {
    flex: 9;
    margin: auto 0px;
    font-weight: bold;
}

.footer_middle {
    padding: 0px 30px;
}

.footer_bottom {
    margin-bottom: 98px;
    padding: 0px 30px;
}

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

/* 모바일 반응형 스타일 */
@media screen and (max-width: 767px) {
    /* 공통 */
    body {
        font-size: 14px;
    }

    /* 네비게이션 */
    nav {
        padding: 12px 20px;
    }

    .menu {
        gap: 10px;
    }

    .menu a {
        font-size: 14px;
        padding: 4px 8px;
    }

    /* 배너 */
    .main-banner {
        padding: 80px 0;
        padding-top: 155px;
    }

    .banner-inner {
        padding: 0 20px;
    }

    .banner-text h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .banner-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 슬라이더 */
    .infinite-slider-title h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .card {
        width: 180px;
    }

    /* 검색 섹션 */
    .search-section {
        padding: 50px 20px;
    }

    .search-content h2 {
        font-size: 26px;
    }

    .search-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .search-content a {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* 서비스 섹션 */
    .service-section {
        padding: 0 20px;
        margin: 60px auto;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card h4 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 단계 섹션 */
    .step-section {
        padding: 60px 10px;
    }

    .step-title h2 {
        font-size: 26px;
    }

    .step-title p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .step-flow {
        flex-direction: column;
        gap: 10px;
    }

    .step-box {
        width: 80%;
        max-width: 280px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    /* 기록 섹션 */
    .record-section {
        padding: 60px 20px;
    }

    .record-header h2 {
        font-size: 26px;
    }

    .record-header p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .record-stats {
        flex-direction: column;
        gap: 40px;
    }

    /* 매니저 섹션 */
    .manager-section {
        padding: 60px 20px;
    }

    .manager-title h2 {
        font-size: 26px;
    }

    .manager-title p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .review-cards {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        width: 90%;
        max-width: 300px;
    }

    .manager-desc > p:first-child {
        font-size: 18px;
        line-height: 1.5;
    }

    .manager-desc > p:nth-child(2) {
        font-size: 16px;
        line-height: 1.5;
    }

    /* 연락처 섹션 */
    .contact-section {
        padding: 60px 20px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: 16px;
        line-height: 1.5;
    }

    .contact-info hr {
        margin: 40px 0;
    }

    .contact-info .caution h4 {
        font-size: 20px;
    }

    .contact-form {
        margin-top: 30px;
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-form button {
        width: 80%;
        padding: 12px;
        font-size: 16px;
    }

    /* 파트너 */
    .partner {
        width: 100%;
        overflow: hidden;
    }

    .partner > div {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
    }

    .partner > div > div {
        flex: 0 0 33.33%;
        height: 70px;
        background-size: contain;
        margin-bottom: 10px;
    }

    /* 푸터 */
    .footer_area {
        min-width: auto;
        max-width: 100%;
        padding: 0 20px;
    }

    .footer_top {
        flex-direction: column;
        margin-top: 40px;
        padding: 10px 0;
    }

    .footer_top > div:first-child {
        margin-bottom: 20px;
    }

    .footer_middle, 
    .footer_bottom {
        padding: 0;
        font-size: 12px;
    }
}